POST api/Configuration/Purchase?clientId={clientId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId | string |
None. |
Body Parameters
PurchaseSettings| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCardCreditAccount | string |
None. |
|
| travelExpenseSchemaUrl | string |
None. |
|
| defaultAccountingRuleIdsForUpload | string |
None. |
|
| viewWorkflowDocumentsOnly | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"companyCardCreditAccount": "sample string 1",
"travelExpenseSchemaUrl": "sample string 2",
"defaultAccountingRuleIdsForUpload": "sample string 3",
"viewWorkflowDocumentsOnly": true
}
application/xml, text/xml
Sample:
<PurchaseSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <companyCardCreditAccount>sample string 1</companyCardCreditAccount> <travelExpenseSchemaUrl>sample string 2</travelExpenseSchemaUrl> <defaultAccountingRuleIdsForUpload>sample string 3</defaultAccountingRuleIdsForUpload> <viewWorkflowDocumentsOnly>true</viewWorkflowDocumentsOnly> </PurchaseSettings>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.