POST api/FinanceManager/PurchaseOrderApproval

Request Information

URI Parameters

None.

Body Parameters

FMSPOA_ApprovalModels
NameDescriptionTypeAdditional information
FMSPOA_Id

integer

None.

FMSPOA_POR_Id_FK

integer

Required

FMSPOA_Approval

character

Required

FMSPOA_ApprovalDate

date

None.

FMSPOA_Note

string

Required

Max length: 500

FMSPOA_UserId_FK

integer

None.

FMSPOA_TS

date

None.

FMSPOA_Inactive

character

None.

FMSPOA_TS_LastEdited

date

None.

FMSPOA_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FMSPOA_Id": 1,
  "FMSPOA_POR_Id_FK": 2,
  "FMSPOA_Approval": "A",
  "FMSPOA_ApprovalDate": "2019-05-26T19:30:37.4290865+05:30",
  "FMSPOA_Note": "sample string 5",
  "FMSPOA_UserId_FK": 6,
  "FMSPOA_TS": "2019-05-26T19:30:37.4290865+05:30",
  "FMSPOA_Inactive": "A",
  "FMSPOA_TS_LastEdited": "2019-05-26T19:30:37.4290865+05:30",
  "FMSPOA_TS_Edited_Uid_FK": 10
}

application/xml, text/xml

Sample:
<FMSPOA_ApprovalModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <FMSPOA_Approval>65</FMSPOA_Approval>
  <FMSPOA_ApprovalDate>2019-05-26T19:30:37.4290865+05:30</FMSPOA_ApprovalDate>
  <FMSPOA_Id>1</FMSPOA_Id>
  <FMSPOA_Inactive>65</FMSPOA_Inactive>
  <FMSPOA_Note>sample string 5</FMSPOA_Note>
  <FMSPOA_POR_Id_FK>2</FMSPOA_POR_Id_FK>
  <FMSPOA_TS>2019-05-26T19:30:37.4290865+05:30</FMSPOA_TS>
  <FMSPOA_TS_Edited_Uid_FK>10</FMSPOA_TS_Edited_Uid_FK>
  <FMSPOA_TS_LastEdited>2019-05-26T19:30:37.4290865+05:30</FMSPOA_TS_LastEdited>
  <FMSPOA_UserId_FK>6</FMSPOA_UserId_FK>
</FMSPOA_ApprovalModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.