POST api/AddressBook/AddCallCenterLogs

Request Information

URI Parameters

None.

Body Parameters

Collection of CallCenterLogDTO
NameDescriptionTypeAdditional information
StartDateTime

date

None.

CallDuration

integer

None.

ToPhoneNumber

string

None.

RetailerId

integer

None.

Name

string

None.

Type

string

None.

FromPhNo

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "StartDateTime": "2024-09-19T18:22:29.6695495+01:00",
    "CallDuration": 2,
    "ToPhoneNumber": "sample string 3",
    "RetailerId": 4,
    "Name": "sample string 5",
    "Type": "sample string 6",
    "FromPhNo": "sample string 7"
  },
  {
    "StartDateTime": "2024-09-19T18:22:29.6695495+01:00",
    "CallDuration": 2,
    "ToPhoneNumber": "sample string 3",
    "RetailerId": 4,
    "Name": "sample string 5",
    "Type": "sample string 6",
    "FromPhNo": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCallCenterLogDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <CallCenterLogDTO>
    <CallDuration>2</CallDuration>
    <FromPhNo>sample string 7</FromPhNo>
    <Name>sample string 5</Name>
    <RetailerId>4</RetailerId>
    <StartDateTime>2024-09-19T18:22:29.6695495+01:00</StartDateTime>
    <ToPhoneNumber>sample string 3</ToPhoneNumber>
    <Type>sample string 6</Type>
  </CallCenterLogDTO>
  <CallCenterLogDTO>
    <CallDuration>2</CallDuration>
    <FromPhNo>sample string 7</FromPhNo>
    <Name>sample string 5</Name>
    <RetailerId>4</RetailerId>
    <StartDateTime>2024-09-19T18:22:29.6695495+01:00</StartDateTime>
    <ToPhoneNumber>sample string 3</ToPhoneNumber>
    <Type>sample string 6</Type>
  </CallCenterLogDTO>
</ArrayOfCallCenterLogDTO>

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 'List`1'.

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": "2024/09/19 18:22:29",
  "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>