-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b8dee8
commit 6ae6a7f
Showing
8 changed files
with
143 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 9 additions & 7 deletions
16
resources/public/api/conf/1.0/examples/Epaye.get.array.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
{ | ||
"_embedded": [ | ||
"empRefs": [ | ||
{ | ||
"empRef": "001/AB00001", | ||
"_links": { | ||
"empRefs": { | ||
"href": "/paye-for-employers/" | ||
}, | ||
"total": { | ||
"href": "/paye-for-employers/001/AB00001/total" | ||
"summary": { | ||
"href": "/organisation/paye/001/AB00001/" | ||
} | ||
} | ||
} | ||
] | ||
], | ||
"_links": { | ||
"self": { | ||
"href": "/organisation/paye/" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"outstandingCharges": { | ||
"amount": 123, | ||
"breakdown": { | ||
"rti": 100, | ||
"nonRti": 23 | ||
} | ||
}, | ||
"_links" : { | ||
"empRefs": { | ||
"href": "/organisation/paye/" | ||
}, | ||
"self": { | ||
"href": "/organisation/paye/001/AB00001" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
resources/public/api/conf/1.0/schemas/Summary.get.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"type": "object", | ||
"description": "An object containing the account summary.", | ||
"properties": { | ||
"_links": { | ||
"$ref": "Definitions.schema.json#/definitions/summaryLinks" | ||
}, | ||
"outstandingCharges": { | ||
"$ref": "Definitions.schema.json#/definitions/outstandingCharges" | ||
} | ||
}, | ||
"required": [ | ||
"outstandingCharges", | ||
"_links" | ||
] | ||
} |
15 changes: 0 additions & 15 deletions
15
resources/public/api/conf/1.0/schemas/Totals.get.schema.json
This file was deleted.
Oops, something went wrong.