POST api/Appointment/populatePlusMemberCustomers

Request Information

URI Parameters

None.

Body Parameters

Collection of PopulatePlusMemberCustomersDTO
NameDescriptionTypeAdditional information
squareId

string

None.

name

string

None.

familyName

string

None.

preferredName

string

None.

expiry

string

None.

accountId

string

None.

consentForm

string

None.

months

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "squareId": "sample string 1",
    "name": "sample string 2",
    "familyName": "sample string 3",
    "preferredName": "sample string 4",
    "expiry": "sample string 5",
    "accountId": "sample string 6",
    "consentForm": "sample string 7",
    "months": [
      1,
      2
    ]
  },
  {
    "squareId": "sample string 1",
    "name": "sample string 2",
    "familyName": "sample string 3",
    "preferredName": "sample string 4",
    "expiry": "sample string 5",
    "accountId": "sample string 6",
    "consentForm": "sample string 7",
    "months": [
      1,
      2
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfPopulatePlusMemberCustomersDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Beauty_Lab_Dashboard.DTO">
  <PopulatePlusMemberCustomersDTO>
    <accountId>sample string 6</accountId>
    <consentForm>sample string 7</consentForm>
    <expiry>sample string 5</expiry>
    <familyName>sample string 3</familyName>
    <months xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </months>
    <name>sample string 2</name>
    <preferredName>sample string 4</preferredName>
    <squareId>sample string 1</squareId>
  </PopulatePlusMemberCustomersDTO>
  <PopulatePlusMemberCustomersDTO>
    <accountId>sample string 6</accountId>
    <consentForm>sample string 7</consentForm>
    <expiry>sample string 5</expiry>
    <familyName>sample string 3</familyName>
    <months xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </months>
    <name>sample string 2</name>
    <preferredName>sample string 4</preferredName>
    <squareId>sample string 1</squareId>
  </PopulatePlusMemberCustomersDTO>
</ArrayOfPopulatePlusMemberCustomersDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.