POST api/Banner

Request Information

URI Parameters

None.

Body Parameters

BannerModels
NameDescriptionTypeAdditional information
BA_Id

integer

None.

BA_FromDate

date

Required

GetPartnerDetailsSpeedSearch

PartnerSpeedSearchModels

Required

BA_ToDate

date

None.

BA_Banner

string

Required

BA_BannerName

string

Required

Max length: 100

BA_DisplayOrder

integer

Required

BA_BannerActive

string

Required

Max length: 1

BA_Inactive

string

None.

BA_UserId_FK

integer

None.

BA_TS

date

None.

BA_TS_LastEdited

date

None.

BA_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BA_Id": 1,
  "BA_FromDate": "2019-07-23T15:03:16.7200876+05:30",
  "GetPartnerDetailsSpeedSearch": {
    "P_Id": 1,
    "P_Partner_Name": "sample string 2"
  },
  "BA_ToDate": "2019-07-23T15:03:16.7200876+05:30",
  "BA_Banner": "sample string 3",
  "BA_BannerName": "sample string 4",
  "BA_DisplayOrder": 5,
  "BA_BannerActive": "sample string 6",
  "BA_Inactive": "sample string 7",
  "BA_UserId_FK": 8,
  "BA_TS": "2019-07-23T15:03:16.7200876+05:30",
  "BA_TS_LastEdited": "2019-07-23T15:03:16.7200876+05:30",
  "BA_TS_Edited_Uid_FK": 11
}

application/xml, text/xml

Sample:
<BannerModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <BA_Banner>sample string 3</BA_Banner>
  <BA_BannerActive>sample string 6</BA_BannerActive>
  <BA_BannerName>sample string 4</BA_BannerName>
  <BA_DisplayOrder>5</BA_DisplayOrder>
  <BA_FromDate>2019-07-23T15:03:16.7200876+05:30</BA_FromDate>
  <BA_Id>1</BA_Id>
  <BA_Inactive>sample string 7</BA_Inactive>
  <BA_TS>2019-07-23T15:03:16.7200876+05:30</BA_TS>
  <BA_TS_Edited_Uid_FK>11</BA_TS_Edited_Uid_FK>
  <BA_TS_LastEdited>2019-07-23T15:03:16.7200876+05:30</BA_TS_LastEdited>
  <BA_ToDate>2019-07-23T15:03:16.7200876+05:30</BA_ToDate>
  <BA_UserId_FK>8</BA_UserId_FK>
  <GetPartnerDetailsSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch">
    <d2p1:P_Id>1</d2p1:P_Id>
    <d2p1:P_Partner_Name>sample string 2</d2p1:P_Partner_Name>
  </GetPartnerDetailsSpeedSearch>
</BannerModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.