Manage the discount type entities.
Name | Type | Is Mandatory |
---|---|---|
DiscountTypeId | Int16 | |
Label | String | |
DeletionFlag | Boolean | |
PurchaseDetails | Collection of PurchaseDetail | |
PurchaseHeaders | Collection of PurchaseHeader | |
DiscountTypeTranslations | Collection of DiscountTypeTranslation |
Select all DiscountTypes
https://customerapi.fts-crm360.com/data/DiscountTypes()
HttpMethod : GET
Json Result :
[
{
"DiscountTypeId" : "6",
"Label" : "gEhuJZlfAouQf",
"DeletionFlag" : "True"
},
{
"DiscountTypeId" : "9",
"Label" : "J XJi",
"DeletionFlag" : "False"
},
...
]
Select DiscountType by Id
https://customerapi.fts-crm360.com/data/DiscountTypes(6)
HttpMethod : GET
Json Result :
{
"DiscountTypeId" : "1",
"Label" : "S b4MUL6GP05wlLD 0z",
"DeletionFlag" : "True"
}
Create a DiscountType
https://customerapi.fts-crm360.com/data/DiscountTypes()
HttpMethod : POST
Json Post :
{
"Label" : "dDdvAuel",
"DeletionFlag" : "False"
}
Informations :
- Non mandatory fields are optional for Json Post
Update a DiscountType
https://customerapi.fts-crm360.com/data/DiscountTypes(6)
HttpMethod : PUT
Json Post :
{
"DiscountTypeId" : "9",
"Label" : "DhaU8s",
"DeletionFlag" : "False"
}
Informations :
- Non mandatory fields are optional for Json Post
Patch a DiscountType
https://customerapi.fts-crm360.com/data/DiscountTypes(6)
HttpMethod : PATCH
Json Post :
{
"DeletionFlag" : "False"
}
Informations :
- Non mandatory fields are optional for Json Post
Delete a DiscountType
https://customerapi.fts-crm360.com/data/DiscountTypes(6)
HttpMethod : DELETE
Translate a DiscountType label
https://customerapi.fts-crm360.com/data/DiscountTypes(6)/Label
HttpMethod : GET
Required Fields :
Http Header for language : X-Crm360Api-Language-3