VoucherState entities
Name | Type | Is Mandatory |
---|---|---|
VoucherStateId | Int16 | |
Label | String | |
DeletionFlag | Boolean | |
Vouchers | Collection of Voucher | |
VoucherStateTranslations | Collection of VoucherStateTranslation |
Select all VoucherStates
https://customerapi.fts-crm360.com/data/VoucherStates()
HttpMethod : GET
Json Result :
[
{
"VoucherStateId" : "5",
"Label" : "KwHVbt7qgALbXA41pR",
"DeletionFlag" : "True"
},
{
"VoucherStateId" : "2",
"Label" : "MYfEL",
"DeletionFlag" : "False"
},
...
]
Select VoucherState by Id
https://customerapi.fts-crm360.com/data/VoucherStates(5)
HttpMethod : GET
Json Result :
{
"VoucherStateId" : "7",
"Label" : "RyxavK6pXJU",
"DeletionFlag" : "True"
}
Create a VoucherState
https://customerapi.fts-crm360.com/data/VoucherStates()
HttpMethod : POST
Json Post :
{
"Label" : "r7FXScYtqfPU39XnPP",
"DeletionFlag" : "True"
}
Informations :
- Non mandatory fields are optional for Json Post
Update a VoucherState
https://customerapi.fts-crm360.com/data/VoucherStates(5)
HttpMethod : PUT
Json Post :
{
"VoucherStateId" : "3",
"Label" : "ONZ m18M",
"DeletionFlag" : "True"
}
Informations :
- Non mandatory fields are optional for Json Post
Patch a VoucherState
https://customerapi.fts-crm360.com/data/VoucherStates(5)
HttpMethod : PATCH
Json Post :
{
"DeletionFlag" : "False"
}
Informations :
- Non mandatory fields are optional for Json Post
Delete a VoucherState
https://customerapi.fts-crm360.com/data/VoucherStates(5)
HttpMethod : DELETE
Translate a VoucherState label
https://customerapi.fts-crm360.com/data/VoucherStates(5)/Label
HttpMethod : GET
Required Fields :
Http Header for language : X-Crm360Api-Language-3