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" : "4",
"Label" : "WFHe mWF5",
"DeletionFlag" : "False"
},
{
"DiscountTypeId" : "3",
"Label" : "bPWiF",
"DeletionFlag" : "False"
},
...
]
Select DiscountType by Id
https://customerapi.fts-crm360.com/data/DiscountTypes(4)
HttpMethod : GET
Json Result :
{
"DiscountTypeId" : "2",
"Label" : "rIyu KI",
"DeletionFlag" : "False"
}
Create a DiscountType
https://customerapi.fts-crm360.com/data/DiscountTypes()
HttpMethod : POST
Json Post :
{
"Label" : "01rZmhNzb eexWUz1v",
"DeletionFlag" : "False"
}
Informations :
- Non mandatory fields are optional for Json Post
Update a DiscountType
https://customerapi.fts-crm360.com/data/DiscountTypes(4)
HttpMethod : PUT
Json Post :
{
"DiscountTypeId" : "5",
"Label" : "6GQKTNTZDpcfME",
"DeletionFlag" : "False"
}
Informations :
- Non mandatory fields are optional for Json Post
Patch a DiscountType
https://customerapi.fts-crm360.com/data/DiscountTypes(4)
HttpMethod : PATCH
Json Post :
{
"Label" : "m0tHuomor5xc6"
}
Informations :
- Non mandatory fields are optional for Json Post
Delete a DiscountType
https://customerapi.fts-crm360.com/data/DiscountTypes(4)
HttpMethod : DELETE
Translate a DiscountType label
https://customerapi.fts-crm360.com/data/DiscountTypes(4)/Label
HttpMethod : GET
Required Fields :
Http Header for language : X-Crm360Api-Language-3