PATCH api/costcenters/ModifyCostCenter
Request Information
URI Parameters
None.
Body Parameters
CostCenterName | Description | Type | Additional information |
---|---|---|---|
CostCenterId | string |
None. |
|
ParentCostCenterId | string |
None. |
|
CostCenterDescription | string |
None. |
|
Active | boolean |
None. |
|
CostCenterNote | string |
None. |
|
EANCustomerCode | string |
None. |
|
InsUpdDate | date |
None. |
|
ExternalID | string |
None. |
Request Formats
application/xml, text/xml
Sample:
<CostCenter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CostCenterId>sample string 1</CostCenterId> <ParentCostCenterId>sample string 2</ParentCostCenterId> <CostCenterDescription>sample string 3</CostCenterDescription> <Active>true</Active> <CostCenterNote>sample string 5</CostCenterNote> <EANCustomerCode>sample string 6</EANCustomerCode> <InsUpdDate>2024-11-21T06:38:03.8702993+01:00</InsUpdDate> <ExternalID>sample string 7</ExternalID> </CostCenter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResultName | Description | Type | Additional information |
---|---|---|---|
Keys | Collection of EntityKeyField |
None. |
|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Keys> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> </Keys> <ResultCode>None</ResultCode> <Errors> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> </Errors> </CreateResult>