POST api2/InventoryManagement/Prototype/CLG/Location/AddLocation

Request Information

URI Parameters

None.

Body Parameters

LocationModel
NameDescriptionTypeAdditional information
LocationId

integer

None.

LocationDescription

string

None.

Void

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationId": 1,
  "LocationDescription": "sample string 2",
  "Void": true
}

application/xml, text/xml

Sample:
<LocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JCDHAPI.Controllers.InventoryManagement.Prototype.CLG.Models">
  <LocationDescription>sample string 2</LocationDescription>
  <LocationId>1</LocationId>
  <Void>true</Void>
</LocationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.