POST api2/InventoryManagement/Prototype/CMG/InventoryLocation/InsertLocation

Request Information

URI Parameters

None.

Body Parameters

InventoryLocation
NameDescriptionTypeAdditional information
LocationId

integer

None.

ParentLocationId

integer

None.

LocationName

string

None.

LocationDescription

string

None.

CreatedAt

date

None.

EnteredBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationId": 1,
  "ParentLocationId": 2,
  "LocationName": "sample string 3",
  "LocationDescription": "sample string 4",
  "CreatedAt": "2026-03-13T19:43:16.4444333-05:00",
  "EnteredBy": 6
}

application/xml, text/xml

Sample:
<InventoryLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JCDHAPI.Controllers.InventoryManagement.Prototype.CMG.Models">
  <CreatedAt>2026-03-13T19:43:16.4444333-05:00</CreatedAt>
  <EnteredBy>6</EnteredBy>
  <LocationDescription>sample string 4</LocationDescription>
  <LocationId>1</LocationId>
  <LocationName>sample string 3</LocationName>
  <ParentLocationId>2</ParentLocationId>
</InventoryLocation>

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.