POST api/v1/ecare/appointment/create

Request Information

URI Parameters

None.

Body Parameters

AppointmentsRequest
NameDescriptionTypeAdditional information
appointmentsInfo

AppointmentsInfo

Required

Request Formats

application/json, text/json

Sample:
{
  "appointmentsInfo": {
    "appointmentInfo": [
      {
        "header": {
          "countryCode": "sample string 1",
          "dealerCode": "sample string 2",
          "branchCode": "sample string 3",
          "vin": "sample string 4",
          "registrationNo": "sample string 5",
          "appointmentNo": "sample string 6",
          "appointmentDate": "sample string 7",
          "appointmentTime": "sample string 8",
          "carWashFlag": "sample string 9",
          "estimatedFinishTime": "sample string 10",
          "waitingDropOff": "sample string 11",
          "notificationSubjectThai": "sample string 12",
          "notificationSubjectEng": "sample string 13",
          "notificationDetailThai": "sample string 14",
          "notificationDetailEng": "sample string 15",
          "padFlag": 16,
          "padCode": "sample string 17",
          "remark": "sample string 18"
        },
        "detail": [
          {
            "merchandiseCode": "sample string 1",
            "operationCode": "sample string 2",
            "operationDesc": "sample string 3"
          },
          {
            "merchandiseCode": "sample string 1",
            "operationCode": "sample string 2",
            "operationDesc": "sample string 3"
          }
        ]
      },
      {
        "header": {
          "countryCode": "sample string 1",
          "dealerCode": "sample string 2",
          "branchCode": "sample string 3",
          "vin": "sample string 4",
          "registrationNo": "sample string 5",
          "appointmentNo": "sample string 6",
          "appointmentDate": "sample string 7",
          "appointmentTime": "sample string 8",
          "carWashFlag": "sample string 9",
          "estimatedFinishTime": "sample string 10",
          "waitingDropOff": "sample string 11",
          "notificationSubjectThai": "sample string 12",
          "notificationSubjectEng": "sample string 13",
          "notificationDetailThai": "sample string 14",
          "notificationDetailEng": "sample string 15",
          "padFlag": 16,
          "padCode": "sample string 17",
          "remark": "sample string 18"
        },
        "detail": [
          {
            "merchandiseCode": "sample string 1",
            "operationCode": "sample string 2",
            "operationDesc": "sample string 3"
          },
          {
            "merchandiseCode": "sample string 1",
            "operationCode": "sample string 2",
            "operationDesc": "sample string 3"
          }
        ]
      }
    ]
  }
}

application/xml, text/xml

Sample:
<AppointmentsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LDCM.MyServices.Models">
  <AppointmentsInfo>
    <AppointmentInfo>
      <AppointmentInfo>
        <Detail>
          <Detail>
            <MerchandiseCode>sample string 1</MerchandiseCode>
            <OperationCode>sample string 2</OperationCode>
            <OperationDesc>sample string 3</OperationDesc>
          </Detail>
          <Detail>
            <MerchandiseCode>sample string 1</MerchandiseCode>
            <OperationCode>sample string 2</OperationCode>
            <OperationDesc>sample string 3</OperationDesc>
          </Detail>
        </Detail>
        <Header>
          <AppointmentDate>sample string 7</AppointmentDate>
          <AppointmentNo>sample string 6</AppointmentNo>
          <AppointmentTime>sample string 8</AppointmentTime>
          <BranchCode>sample string 3</BranchCode>
          <CarWashFlag>sample string 9</CarWashFlag>
          <CountryCode>sample string 1</CountryCode>
          <DealerCode>sample string 2</DealerCode>
          <EstimatedFinishTime>sample string 10</EstimatedFinishTime>
          <NotificationDetailEng>sample string 15</NotificationDetailEng>
          <NotificationDetailThai>sample string 14</NotificationDetailThai>
          <NotificationSubjectEng>sample string 13</NotificationSubjectEng>
          <NotificationSubjectThai>sample string 12</NotificationSubjectThai>
          <PadCode>sample string 17</PadCode>
          <PadFlag>16</PadFlag>
          <RegistrationNo>sample string 5</RegistrationNo>
          <Remark>sample string 18</Remark>
          <Vin>sample string 4</Vin>
          <WaitingDropOff>sample string 11</WaitingDropOff>
        </Header>
      </AppointmentInfo>
      <AppointmentInfo>
        <Detail>
          <Detail>
            <MerchandiseCode>sample string 1</MerchandiseCode>
            <OperationCode>sample string 2</OperationCode>
            <OperationDesc>sample string 3</OperationDesc>
          </Detail>
          <Detail>
            <MerchandiseCode>sample string 1</MerchandiseCode>
            <OperationCode>sample string 2</OperationCode>
            <OperationDesc>sample string 3</OperationDesc>
          </Detail>
        </Detail>
        <Header>
          <AppointmentDate>sample string 7</AppointmentDate>
          <AppointmentNo>sample string 6</AppointmentNo>
          <AppointmentTime>sample string 8</AppointmentTime>
          <BranchCode>sample string 3</BranchCode>
          <CarWashFlag>sample string 9</CarWashFlag>
          <CountryCode>sample string 1</CountryCode>
          <DealerCode>sample string 2</DealerCode>
          <EstimatedFinishTime>sample string 10</EstimatedFinishTime>
          <NotificationDetailEng>sample string 15</NotificationDetailEng>
          <NotificationDetailThai>sample string 14</NotificationDetailThai>
          <NotificationSubjectEng>sample string 13</NotificationSubjectEng>
          <NotificationSubjectThai>sample string 12</NotificationSubjectThai>
          <PadCode>sample string 17</PadCode>
          <PadFlag>16</PadFlag>
          <RegistrationNo>sample string 5</RegistrationNo>
          <Remark>sample string 18</Remark>
          <Vin>sample string 4</Vin>
          <WaitingDropOff>sample string 11</WaitingDropOff>
        </Header>
      </AppointmentInfo>
    </AppointmentInfo>
  </AppointmentsInfo>
</AppointmentsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.