POST api/StockistDeliveryPincode

Request Information

URI Parameters

None.

Body Parameters

StockistDeliveryPincodeModels
NameDescriptionTypeAdditional information
SDP_Id

integer

None.

SockiestDetailsModels

StockiestSpeedSearchModels

Required

SDP_Pincode

integer

Required

SDP_UserId_FK

integer

None.

SDP_TS

date

None.

SDP_Inactive

character

None.

SDP_TS_LastEdited

date

None.

SDP_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SDP_Id": 1,
  "SockiestDetailsModels": {
    "SK_Id": 1,
    "SK_Code": "sample string 2",
    "SK_Name": "sample string 3"
  },
  "SDP_Pincode": 2,
  "SDP_UserId_FK": 3,
  "SDP_TS": "2019-07-23T15:49:34.4455984+05:30",
  "SDP_Inactive": "A",
  "SDP_TS_LastEdited": "2019-07-23T15:49:34.4455984+05:30",
  "SDP_TS_Edited_Uid_FK": 7
}

application/xml, text/xml

Sample:
<StockistDeliveryPincodeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <SDP_Id>1</SDP_Id>
  <SDP_Inactive>65</SDP_Inactive>
  <SDP_Pincode>2</SDP_Pincode>
  <SDP_TS>2019-07-23T15:49:34.4455984+05:30</SDP_TS>
  <SDP_TS_Edited_Uid_FK>7</SDP_TS_Edited_Uid_FK>
  <SDP_TS_LastEdited>2019-07-23T15:49:34.4455984+05:30</SDP_TS_LastEdited>
  <SDP_UserId_FK>3</SDP_UserId_FK>
  <SockiestDetailsModels xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch">
    <d2p1:SK_Code>sample string 2</d2p1:SK_Code>
    <d2p1:SK_Id>1</d2p1:SK_Id>
    <d2p1:SK_Name>sample string 3</d2p1:SK_Name>
  </SockiestDetailsModels>
</StockistDeliveryPincodeModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.