PurchaseType entities
Name | Type | Is Mandatory |
---|---|---|
PurchaseTypeId | Int16 | |
Label | String | |
DeletionFlag | Boolean | |
PurchaseHeaders | Collection of PurchaseHeader | |
PurchaseTypeTranslations | Collection of PurchaseTypeTranslation |
Select all PurchaseTypes
https://customerapi.fts-crm360.com/data/PurchaseTypes()
HttpMethod : GET
Json Result :
[
{
"PurchaseTypeId" : "1",
"Label" : "03ixjfoj",
"DeletionFlag" : "True"
},
{
"PurchaseTypeId" : "6",
"Label" : "7MMDkmTRR",
"DeletionFlag" : "True"
},
...
]
Select PurchaseType by Id
https://customerapi.fts-crm360.com/data/PurchaseTypes(1)
HttpMethod : GET
Json Result :
{
"PurchaseTypeId" : "2",
"Label" : "vLM1hdObm6o",
"DeletionFlag" : "False"
}
Create a PurchaseType
https://customerapi.fts-crm360.com/data/PurchaseTypes()
HttpMethod : POST
Json Post :
{
"Label" : "oHw3B103",
"DeletionFlag" : "True"
}
Informations :
- Non mandatory fields are optional for Json Post
Update a PurchaseType
https://customerapi.fts-crm360.com/data/PurchaseTypes(1)
HttpMethod : PUT
Json Post :
{
"PurchaseTypeId" : "5",
"Label" : "0XfDB BJsdzlWoFFM",
"DeletionFlag" : "True"
}
Informations :
- Non mandatory fields are optional for Json Post
Patch a PurchaseType
https://customerapi.fts-crm360.com/data/PurchaseTypes(1)
HttpMethod : PATCH
Json Post :
{
"Label" : "jE 7dhZO9RgKqY"
}
Informations :
- Non mandatory fields are optional for Json Post
Delete a PurchaseType
https://customerapi.fts-crm360.com/data/PurchaseTypes(1)
HttpMethod : DELETE
Translate a PurchaseType label
https://customerapi.fts-crm360.com/data/PurchaseTypes(1)/Label
HttpMethod : GET
Required Fields :
Http Header for language : X-Crm360Api-Language-3