POST api/FinanceManager/CustomerOrderApproval

Request Information

URI Parameters

None.

Body Parameters

FMCO_ApprovalModels
NameDescriptionTypeAdditional information
FMCOA_Id

integer

None.

FMCOA_COR_Id_FK

integer

Required

FMCOA_Approval

character

Required

FMCOA_ApprovalDate

date

None.

FMCOA_Note

string

Required

Max length: 500

FMCOA_UserId_FK

integer

None.

FMCOA_TS

date

None.

FMCOA_Inactive

character

None.

FMCOA_TS_LastEdited

date

None.

FMCOA_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FMCOA_Id": 1,
  "FMCOA_COR_Id_FK": 2,
  "FMCOA_Approval": "A",
  "FMCOA_ApprovalDate": "2019-11-20T16:50:45.9022869+05:30",
  "FMCOA_Note": "sample string 5",
  "FMCOA_UserId_FK": 6,
  "FMCOA_TS": "2019-11-20T16:50:45.9037897+05:30",
  "FMCOA_Inactive": "A",
  "FMCOA_TS_LastEdited": "2019-11-20T16:50:45.9037897+05:30",
  "FMCOA_TS_Edited_Uid_FK": 10
}

application/xml, text/xml

Sample:
<FMCO_ApprovalModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <FMCOA_Approval>65</FMCOA_Approval>
  <FMCOA_ApprovalDate>2019-11-20T16:50:45.9022869+05:30</FMCOA_ApprovalDate>
  <FMCOA_COR_Id_FK>2</FMCOA_COR_Id_FK>
  <FMCOA_Id>1</FMCOA_Id>
  <FMCOA_Inactive>65</FMCOA_Inactive>
  <FMCOA_Note>sample string 5</FMCOA_Note>
  <FMCOA_TS>2019-11-20T16:50:45.9037897+05:30</FMCOA_TS>
  <FMCOA_TS_Edited_Uid_FK>10</FMCOA_TS_Edited_Uid_FK>
  <FMCOA_TS_LastEdited>2019-11-20T16:50:45.9037897+05:30</FMCOA_TS_LastEdited>
  <FMCOA_UserId_FK>6</FMCOA_UserId_FK>
</FMCO_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 'FMCO_ApprovalModels'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.