POST api/AddressBook/AddSecondaryDisplay

Request Information

URI Parameters

None.

Body Parameters

AddSecondaryDisplayPrm
NameDescriptionTypeAdditional information
BusinessId

integer

None.

loginUserId

integer

None.

BrandName

string

None.

StoreName

string

None.

PromotionName

string

None.

PromotionType

string

None.

StartDate

string

None.

EndDate

string

None.

Flag

string

None.

PromotionID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "loginUserId": 2,
  "BrandName": "sample string 3",
  "StoreName": "sample string 4",
  "PromotionName": "sample string 5",
  "PromotionType": "sample string 6",
  "StartDate": "sample string 7",
  "EndDate": "sample string 8",
  "Flag": "sample string 9",
  "PromotionID": "sample string 10"
}

application/xml, text/xml

Sample:
<AddSecondaryDisplayPrm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <BrandName>sample string 3</BrandName>
  <BusinessId>1</BusinessId>
  <EndDate>sample string 8</EndDate>
  <Flag>sample string 9</Flag>
  <PromotionID>sample string 10</PromotionID>
  <PromotionName>sample string 5</PromotionName>
  <PromotionType>sample string 6</PromotionType>
  <StartDate>sample string 7</StartDate>
  <StoreName>sample string 4</StoreName>
  <loginUserId>2</loginUserId>
</AddSecondaryDisplayPrm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2020/10/22 05:20:20",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>