POST Api/Appointments/CreateCustomer

Request Information

URI Parameters

None.

Body Parameters

UIcomponents
NameDescriptionTypeAdditional information
controls

Collection of BaseControls

None.

Request Formats

application/json, text/json

Sample:
{
  "controls": [
    {
      "Name": "sample string 1",
      "Label": "sample string 2",
      "Order": 3,
      "Required": true,
      "CustomerData": true,
      "Text": "sample string 6",
      "Type": "sample string 7",
      "ValidationTypeName": "sample string 8",
      "ControlFriendlyName": "sample string 9",
      "FieldPerPerson": true,
      "FieldPerNotifier": true
    },
    {
      "Name": "sample string 1",
      "Label": "sample string 2",
      "Order": 3,
      "Required": true,
      "CustomerData": true,
      "Text": "sample string 6",
      "Type": "sample string 7",
      "ValidationTypeName": "sample string 8",
      "ControlFriendlyName": "sample string 9",
      "FieldPerPerson": true,
      "FieldPerNotifier": true
    }
  ]
}

application/xml, text/xml

Sample:
<UIcomponents xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <controls>
    <BaseControls>
      <Name>sample string 1</Name>
      <Label>sample string 2</Label>
      <Order>3</Order>
      <Required>true</Required>
      <CustomerData>true</CustomerData>
      <Text>sample string 6</Text>
      <Type>sample string 7</Type>
      <ValidationTypeName>sample string 8</ValidationTypeName>
      <ControlFriendlyName>sample string 9</ControlFriendlyName>
      <FieldPerPerson>true</FieldPerPerson>
      <FieldPerNotifier>true</FieldPerNotifier>
    </BaseControls>
    <BaseControls>
      <Name>sample string 1</Name>
      <Label>sample string 2</Label>
      <Order>3</Order>
      <Required>true</Required>
      <CustomerData>true</CustomerData>
      <Text>sample string 6</Text>
      <Type>sample string 7</Type>
      <ValidationTypeName>sample string 8</ValidationTypeName>
      <ControlFriendlyName>sample string 9</ControlFriendlyName>
      <FieldPerPerson>true</FieldPerPerson>
      <FieldPerNotifier>true</FieldPerNotifier>
    </BaseControls>
  </controls>
</UIcomponents>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int>1</int>