POST api/Departments?dx={dx}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dx

string

Required

Body Parameters

Departments
NameDescriptionTypeAdditional information
ulKey

integer

None.

strName

string

None.

strBarFlag

string

None.

strBarCode

string

None.

usLeadTime

integer

None.

iReserved1

integer

None.

iReserved2

integer

None.

iReserved3

integer

None.

iReserved4

integer

None.

iReserved5

integer

None.

Request Formats

application/xml, text/xml

Sample:
<Departments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MPUAPI">
  <iReserved1>1</iReserved1>
  <iReserved2>1</iReserved2>
  <iReserved3>1</iReserved3>
  <iReserved4>1</iReserved4>
  <iReserved5>1</iReserved5>
  <strBarCode>sample string 4</strBarCode>
  <strBarFlag>sample string 3</strBarFlag>
  <strName>sample string 2</strName>
  <ulKey>1</ulKey>
  <usLeadTime>1</usLeadTime>
</Departments>

application/json, text/json

Sample:
{
  "ulKey": 1,
  "strName": "sample string 2",
  "strBarFlag": "sample string 3",
  "strBarCode": "sample string 4",
  "usLeadTime": 1,
  "iReserved1": 1,
  "iReserved2": 1,
  "iReserved3": 1,
  "iReserved4": 1,
  "iReserved5": 1
}

Response Information

Resource Description

Departments
NameDescriptionTypeAdditional information
ulKey

integer

None.

strName

string

None.

strBarFlag

string

None.

strBarCode

string

None.

usLeadTime

integer

None.

iReserved1

integer

None.

iReserved2

integer

None.

iReserved3

integer

None.

iReserved4

integer

None.

iReserved5

integer

None.

Response Formats

application/xml, text/xml

Sample:
<Departments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MPUAPI">
  <iReserved1>1</iReserved1>
  <iReserved2>1</iReserved2>
  <iReserved3>1</iReserved3>
  <iReserved4>1</iReserved4>
  <iReserved5>1</iReserved5>
  <strBarCode>sample string 4</strBarCode>
  <strBarFlag>sample string 3</strBarFlag>
  <strName>sample string 2</strName>
  <ulKey>1</ulKey>
  <usLeadTime>1</usLeadTime>
</Departments>

application/json, text/json

Sample:
{
  "ulKey": 1,
  "strName": "sample string 2",
  "strBarFlag": "sample string 3",
  "strBarCode": "sample string 4",
  "usLeadTime": 1,
  "iReserved1": 1,
  "iReserved2": 1,
  "iReserved3": 1,
  "iReserved4": 1,
  "iReserved5": 1
}