PUT api/{database}/CostCentre/{costCentreId}
No Documentation Found.
Request Information
Parameters
| Name | Description | Additional information | 
|---|---|---|
| costCentreId | No Documentation Found. | 
                         Define this parameter in the request URI.  | 
        
| value | No Documentation Found. | 
                         Define this parameter in the request body.  | 
        
Request body formats
application/json, text/json
            Sample:
        
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "costCentreId": "sample string 3",
  "createdByUserId": "sample string 4",
  "dateCreated": "sample string 5",
  "description": "sample string 6",
  "isActive": true,
  "shortName": "sample string 8"
}
        application/xml, text/xml
            Sample:
        <CostCentre xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit"> <CanChange>true</CanChange> <CannotChangeReason>sample string 2</CannotChangeReason> <CostCentreId>sample string 3</CostCentreId> <CreatedByUserId>sample string 4</CreatedByUserId> <DateCreated>sample string 5</DateCreated> <Description>sample string 6</Description> <IsActive>true</IsActive> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <ShortName>sample string 8</ShortName> </CostCentre>
application/x-www-form-urlencoded
            Sample:
    
        
Response Information
Response body formats
application/json, text/json
            Sample:
        
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "costCentreId": "sample string 3",
  "createdByUserId": "sample string 4",
  "dateCreated": "sample string 5",
  "description": "sample string 6",
  "isActive": true,
  "shortName": "sample string 8"
}
        application/xml, text/xml
            Sample:
<CostCentre xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit"> <CanChange>true</CanChange> <CannotChangeReason>sample string 2</CannotChangeReason> <CostCentreId>sample string 3</CostCentreId> <CreatedByUserId>sample string 4</CreatedByUserId> <DateCreated>sample string 5</DateCreated> <Description>sample string 6</Description> <IsActive>true</IsActive> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <ShortName>sample string 8</ShortName> </CostCentre>