GET assessment/current/itemstates/{id}
This feature is not available in all subscriptions. Contact your accountmanager for more information.
This returns all the items for the given ID.
The JSON output will represent all the data in the assessment.
For this purpose, only these declarationTypes are supported:
- 8 (AssessmentIncomeTax).
- 21 (AssessmentValueAddedTax).
- 22 (AssessmentCorporateTax).
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The unique id of the assessment. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The AssessmentDataViewModel, containing information the values and party information.
Collection of FiscaalGemak.Web.Api.Models.Models.AssessmentDataViewModelName | Description | Type | Additional information |
---|---|---|---|
ClientId |
The unique ClientId which can be used to map to the CRM-data. |
integer |
None. |
ItemStates |
Grouped items applicable to the assessment. The item names can be mapped to the steplist. |
Collection of FiscaalGemak.Web.Api.Models.Models.ItemStateViewModel |
None. |
PartyIndex |
In case of repeating groups an index can be present. |
integer |
None. |
PartyType | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ClientId": 1, "ItemStates": [ { "Index": 1, "ItemName": "sample string 1", "Residence": "sample string 2", "Time": "sample string 3", "Value": {} }, { "Index": 1, "ItemName": "sample string 1", "Residence": "sample string 2", "Time": "sample string 3", "Value": {} } ], "PartyIndex": 1, "PartyType": "sample string 1" }, { "ClientId": 1, "ItemStates": [ { "Index": 1, "ItemName": "sample string 1", "Residence": "sample string 2", "Time": "sample string 3", "Value": {} }, { "Index": 1, "ItemName": "sample string 1", "Residence": "sample string 2", "Time": "sample string 3", "Value": {} } ], "PartyIndex": 1, "PartyType": "sample string 1" } ]