POST api/OrderCancellationByFM/BulkSalesSM

Request Information

URI Parameters

None.

Body Parameters

SMBS_ApprovalModels
NameDescriptionTypeAdditional information
SMBSA_Id

integer

None.

SMBSA_BS_Id_FK

integer

Required

SMBSA_Approval

character

Required

SMBSA_ApprovalDate

date

None.

SMBSA_WA_Id_FK

integer

None.

WarehouseSpeedSearch

WarehouseSpeedSearchModels

Required

SMBSA_Note

string

Required

Max length: 500

SMBSA_UserId_FK

integer

None.

SMBSA_TS

date

None.

SMBSA_Inactive

character

None.

SMBSA_TS_LastEdited

date

None.

SMBSA_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SMBSA_Id": 1,
  "SMBSA_BS_Id_FK": 2,
  "SMBSA_Approval": "A",
  "SMBSA_ApprovalDate": "2019-09-19T14:35:54.2440131+05:30",
  "SMBSA_WA_Id_FK": 5,
  "WarehouseSpeedSearch": {
    "WH_Id": 1,
    "WH_Code": "sample string 2",
    "WH_Name": "sample string 3"
  },
  "SMBSA_Note": "sample string 6",
  "SMBSA_UserId_FK": 7,
  "SMBSA_TS": "2019-09-19T14:35:54.2440131+05:30",
  "SMBSA_Inactive": "A",
  "SMBSA_TS_LastEdited": "2019-09-19T14:35:54.2596363+05:30",
  "SMBSA_TS_Edited_Uid_FK": 11
}

application/xml, text/xml

Sample:
<SMBS_ApprovalModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <SMBSA_Approval>65</SMBSA_Approval>
  <SMBSA_ApprovalDate>2019-09-19T14:35:54.2440131+05:30</SMBSA_ApprovalDate>
  <SMBSA_BS_Id_FK>2</SMBSA_BS_Id_FK>
  <SMBSA_Id>1</SMBSA_Id>
  <SMBSA_Inactive>65</SMBSA_Inactive>
  <SMBSA_Note>sample string 6</SMBSA_Note>
  <SMBSA_TS>2019-09-19T14:35:54.2440131+05:30</SMBSA_TS>
  <SMBSA_TS_Edited_Uid_FK>11</SMBSA_TS_Edited_Uid_FK>
  <SMBSA_TS_LastEdited>2019-09-19T14:35:54.2596363+05:30</SMBSA_TS_LastEdited>
  <SMBSA_UserId_FK>7</SMBSA_UserId_FK>
  <SMBSA_WA_Id_FK>5</SMBSA_WA_Id_FK>
  <WarehouseSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch">
    <d2p1:WH_Code>sample string 2</d2p1:WH_Code>
    <d2p1:WH_Id>1</d2p1:WH_Id>
    <d2p1:WH_Name>sample string 3</d2p1:WH_Name>
  </WarehouseSpeedSearch>
</SMBS_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 'SMBS_ApprovalModels'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.