POST category/add
Request Information
URI Parameters
None.
Body Parameters
CategoryAddRequestName | Description | Type | Additional information |
---|---|---|---|
SAPCategoryId | integer |
None. |
|
LocalCode | string |
None. |
|
Description | string |
None. |
|
SpendLimit | decimal number |
None. |
|
CurrencyId | string |
None. |
|
OfficeId | integer |
None. |
|
CategoryTypeId | integer |
None. |
|
CategoryGroupId | integer |
None. |
|
UsefulYears | integer |
None. |
|
Policy | string |
None. |
|
IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "SAPCategoryId": 1, "LocalCode": "sample string 2", "Description": "sample string 3", "SpendLimit": 4.0, "CurrencyId": "sample string 5", "OfficeId": 6, "CategoryTypeId": 7, "CategoryGroupId": 8, "UsefulYears": 9, "Policy": "sample string 10", "IsActive": true }
application/xml, text/xml
Sample:
<CategoryAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects.OrganizationObjects"> <IsActive xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects">true</IsActive> <CategoryGroupId>8</CategoryGroupId> <CategoryTypeId>7</CategoryTypeId> <CurrencyId>sample string 5</CurrencyId> <Description>sample string 3</Description> <LocalCode>sample string 2</LocalCode> <OfficeId>6</OfficeId> <Policy>sample string 10</Policy> <SAPCategoryId>1</SAPCategoryId> <SpendLimit>4</SpendLimit> <UsefulYears>9</UsefulYears> </CategoryAddRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.