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" : "2",
"Label" : "ZSIGK",
"DeletionFlag" : "False"
},
{
"PurchaseTypeId" : "1",
"Label" : "SP3PZz",
"DeletionFlag" : "False"
},
...
]
Select PurchaseType by Id
https://customerapi.fts-crm360.com/data/PurchaseTypes(2)
HttpMethod : GET
Json Result :
{
"PurchaseTypeId" : "6",
"Label" : "sZQY0qe1",
"DeletionFlag" : "False"
}
Create a PurchaseType
https://customerapi.fts-crm360.com/data/PurchaseTypes()
HttpMethod : POST
Json Post :
{
"Label" : "p Y6I6Nwojv8g1nB",
"DeletionFlag" : "False"
}
Informations :
- Non mandatory fields are optional for Json Post
Update a PurchaseType
https://customerapi.fts-crm360.com/data/PurchaseTypes(2)
HttpMethod : PUT
Json Post :
{
"PurchaseTypeId" : "8",
"Label" : "Qi 5Szp2mi",
"DeletionFlag" : "False"
}
Informations :
- Non mandatory fields are optional for Json Post
Patch a PurchaseType
https://customerapi.fts-crm360.com/data/PurchaseTypes(2)
HttpMethod : PATCH
Json Post :
{
"Label" : "PLLYF4TuUKCxDc"
}
Informations :
- Non mandatory fields are optional for Json Post
Delete a PurchaseType
https://customerapi.fts-crm360.com/data/PurchaseTypes(2)
HttpMethod : DELETE
Translate a PurchaseType label
https://customerapi.fts-crm360.com/data/PurchaseTypes(2)/Label
HttpMethod : GET
Required Fields :
Http Header for language : X-Crm360Api-Language-3