GET declaration-data/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 questions answered/applicable in the declaration down to specification level.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The unique id of the declaration. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The DeclarationModelExportViewModel, containing information the values and party information.
Collection of FiscaalGemak.Web.Api.Models.Models.DeclarationDataViewModelName | 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 declaration. 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" } ]