GET api/{database}/CostUnit/{costUnitId}
Gets the specified CostUnit.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
costUnitId | The costUnitId. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "messages": [], "canChange": true, "cannotChangeReason": "sample string 2", "costUnitId": "sample string 3", "description": "sample string 4", "isActive": true, "shortName": "sample string 6" }
application/xml, text/xml
Sample:
<CostUnit 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> <CostUnitId>sample string 3</CostUnitId> <Description>sample string 4</Description> <IsActive>true</IsActive> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <ShortName>sample string 6</ShortName> </CostUnit>