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" : "5",
"Label" : "fMX69eBSkS",
"DeletionFlag" : "True"
},
{
"VoucherTypeId" : "2",
"Label" : "u hEFVE",
"DeletionFlag" : "True"
},
...
]
Select VoucherType by Id
https://customerapi.fts-crm360.com/data/VoucherTypes(5)
HttpMethod : GET
Json Result :
{
"VoucherTypeId" : "7",
"Label" : "xCAeGu",
"DeletionFlag" : "True"
}
Create a VoucherType
https://customerapi.fts-crm360.com/data/VoucherTypes()
HttpMethod : POST
Json Post :
{
"Label" : "GyL9wrkjQc",
"DeletionFlag" : "False"
}
Informations :
- Non mandatory fields are optional for Json Post
Update a VoucherType
https://customerapi.fts-crm360.com/data/VoucherTypes(5)
HttpMethod : PUT
Json Post :
{
"VoucherTypeId" : "4",
"Label" : "C US4lebtZ zEk2",
"DeletionFlag" : "True"
}
Informations :
- Non mandatory fields are optional for Json Post
Patch a VoucherType
https://customerapi.fts-crm360.com/data/VoucherTypes(5)
HttpMethod : PATCH
Json Post :
{
"Label" : "6jF6vZ vC0ehDnCQ tO"
}
Informations :
- Non mandatory fields are optional for Json Post
Delete a VoucherType
https://customerapi.fts-crm360.com/data/VoucherTypes(5)
HttpMethod : DELETE
Translate a VoucherType label
https://customerapi.fts-crm360.com/data/VoucherTypes(5)/Label
HttpMethod : GET
Required Fields :
Http Header for language : X-Crm360Api-Language-3