POST api/StockingPoints/Insert

Request Information

URI Parameters

None.

Body Parameters

StockingPointDtoIn
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Max length: 40

CreationFirstWarning

integer

None.

CreationCriticalWarning

integer

None.

LoadedFirstWarning

integer

None.

LoadedCriticalWarning

integer

None.

FloorManagerName

string

Max length: 20

FloorManagerTel

string

Max length: 20

LookupValue

string

Max length: 10

PodArchivePoint

integer

None.

KerRidgeCompanyCode

string

Max length: 4

StockPointRegionNumber

string

Max length: 5

StockPointRegionId

integer

None.

Active

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "creationFirstWarning": 3,
  "creationCriticalWarning": 4,
  "loadedFirstWarning": 5,
  "loadedCriticalWarning": 6,
  "floorManagerName": "sample string 7",
  "floorManagerTel": "sample string 8",
  "lookupValue": "sample string 9",
  "podArchivePoint": 10,
  "kerRidgeCompanyCode": "sample string 11",
  "stockPointRegionNumber": "sample string 12",
  "stockPointRegionId": 13,
  "active": 14
}

text/html

Sample:
{"id":1,"name":"sample string 2","creationFirstWarning":3,"creationCriticalWarning":4,"loadedFirstWarning":5,"loadedCriticalWarning":6,"floorManagerName":"sample string 7","floorManagerTel":"sample string 8","lookupValue":"sample string 9","podArchivePoint":10,"kerRidgeCompanyCode":"sample string 11","stockPointRegionNumber":"sample string 12","stockPointRegionId":13,"active":14}

application/xml, text/xml

Sample:
<StockingPointDtoIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryTrackingSystem.Common.Dtos.Dto.StockingPoints">
  <Active>14</Active>
  <CreationCriticalWarning>4</CreationCriticalWarning>
  <CreationFirstWarning>3</CreationFirstWarning>
  <FloorManagerName>sample string 7</FloorManagerName>
  <FloorManagerTel>sample string 8</FloorManagerTel>
  <Id>1</Id>
  <KerRidgeCompanyCode>sample string 11</KerRidgeCompanyCode>
  <LoadedCriticalWarning>6</LoadedCriticalWarning>
  <LoadedFirstWarning>5</LoadedFirstWarning>
  <LookupValue>sample string 9</LookupValue>
  <Name>sample string 2</Name>
  <PodArchivePoint>10</PodArchivePoint>
  <StockPointRegionId>13</StockPointRegionId>
  <StockPointRegionNumber>sample string 12</StockPointRegionNumber>
</StockingPointDtoIn>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StockingPointDtoIn'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.