VoucherType entities
Name | Type | Is Mandatory |
---|---|---|
VoucherTypeId | Int16 | |
Label | String | |
DeletionFlag | Boolean | |
Vouchers | Collection of Voucher | |
VoucherTypeTranslations | Collection of VoucherTypeTranslation | |
VoucherCategories | Collection of VoucherCategory |
Select all VoucherTypes
https://customerapi.fts-crm360.com/data/VoucherTypes()
HttpMethod : GET
Json Result :
[
{
"VoucherTypeId" : "7",
"Label" : "g1T0KZnzyC",
"DeletionFlag" : "True"
},
{
"VoucherTypeId" : "8",
"Label" : "nq 0r6veRd",
"DeletionFlag" : "True"
},
...
]
Select VoucherType by Id
https://customerapi.fts-crm360.com/data/VoucherTypes(7)
HttpMethod : GET
Json Result :
{
"VoucherTypeId" : "6",
"Label" : "geda7gfkdsDIc",
"DeletionFlag" : "False"
}
Create a VoucherType
https://customerapi.fts-crm360.com/data/VoucherTypes()
HttpMethod : POST
Json Post :
{
"Label" : "7Q USXj 5ORTA2OY",
"DeletionFlag" : "False"
}
Informations :
- Non mandatory fields are optional for Json Post
Update a VoucherType
https://customerapi.fts-crm360.com/data/VoucherTypes(7)
HttpMethod : PUT
Json Post :
{
"VoucherTypeId" : "2",
"Label" : "2IVXF8WwI97sOs",
"DeletionFlag" : "True"
}
Informations :
- Non mandatory fields are optional for Json Post
Patch a VoucherType
https://customerapi.fts-crm360.com/data/VoucherTypes(7)
HttpMethod : PATCH
Json Post :
{
"Label" : "AdiVK8qiLqNdt"
}
Informations :
- Non mandatory fields are optional for Json Post
Delete a VoucherType
https://customerapi.fts-crm360.com/data/VoucherTypes(7)
HttpMethod : DELETE
Translate a VoucherType label
https://customerapi.fts-crm360.com/data/VoucherTypes(7)/Label
HttpMethod : GET
Required Fields :
Http Header for language : X-Crm360Api-Language-3