POST api/PO/CreatePO

Request Information

URI Parameters

None.

Body Parameters

CreatePODTO
NameDescriptionTypeAdditional information
PONumber

string

Required

VendorID

integer

Required

dtPO

date

Required

dtPOExpiry

date

Required

Remarks

string

None.

numAmt

decimal number

Required

numAdvanceAmt

decimal number

None.

Recc1

integer

None.

Recc2

integer

None.

Recc3

integer

None.

Recc4

integer

None.

Recc5

integer

None.

numBalAmt

decimal number

None.

intTypeOfOrder

integer

None.

GstIncluded

integer

None.

ApprovalLevelID

integer

None.

intDeptID

integer

None.

PIID

integer

Required

Domain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PONumber": "sample string 1",
  "VendorID": 2,
  "dtPO": "2021-11-27T13:37:21.1980353+05:30",
  "dtPOExpiry": "2021-11-27T13:37:21.1980353+05:30",
  "Remarks": "sample string 5",
  "numAmt": 6.0,
  "numAdvanceAmt": 7.0,
  "Recc1": 8,
  "Recc2": 9,
  "Recc3": 10,
  "Recc4": 11,
  "Recc5": 12,
  "numBalAmt": 13.0,
  "intTypeOfOrder": 14,
  "GstIncluded": 15,
  "ApprovalLevelID": 16,
  "intDeptID": 17,
  "PIID": 18,
  "Domain": "sample string 19"
}

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 'CreatePODTO'.

Response Information

Resource Description

Message
NameDescriptionTypeAdditional information
ResponseFlag

integer

None.

ResponseMessage

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseFlag": 1,
  "ResponseMessage": "sample string 2",
  "Data": {}
}