POST api/PurchaseOrder/UpdatePO

Request Information

URI Parameters

None.

Body Parameters

UpdatePODTO
NameDescriptionTypeAdditional information
POID

integer

None.

PONumber

string

None.

VendorID

integer

None.

PODate

date

None.

PODateExpiry

date

None.

Remark

string

None.

numAmt

decimal number

None.

numAdvanceAmt

decimal number

None.

Recc1

integer

None.

Recc2

integer

None.

Recc3

integer

None.

Recc4

integer

None.

Recc5

integer

None.

TypeOfOrderID

integer

None.

GstIncluded

integer

None.

ApprovalLevelID

integer

None.

DeptID

integer

None.

Domain

string

Required

Request Formats

application/json, text/json

Sample:
{
  "POID": 1,
  "PONumber": "sample string 2",
  "VendorID": 3,
  "PODate": "2021-12-05T13:17:38.8383091+05:30",
  "PODateExpiry": "2021-12-05T13:17:38.8383091+05:30",
  "Remark": "sample string 6",
  "numAmt": 7.0,
  "numAdvanceAmt": 8.0,
  "Recc1": 9,
  "Recc2": 10,
  "Recc3": 11,
  "Recc4": 12,
  "Recc5": 13,
  "TypeOfOrderID": 14,
  "GstIncluded": 15,
  "ApprovalLevelID": 16,
  "DeptID": 17,
  "Domain": "sample string 18"
}

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

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": {}
}