POST api/Customers/{customerid}/Appointment

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerid

string

Required

Body Parameters

AppointmentRequest
NameDescriptionTypeAdditional information
ContractId

string

None.

AppointmentOccasionId

string

Required

AppointmentText

string

None.

AppointmentDoneUntil

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ContractId": "sample string 1",
  "AppointmentOccasionId": "sample string 2",
  "AppointmentText": "sample string 3",
  "AppointmentDoneUntil": "2025-07-02T00:21:45.9012092+02:00"
}

application/xml, text/xml

Sample:
<AppointmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sts.Vas.ProcessesDebitor.Models.Requests">
  <AppointmentDoneUntil>2025-07-02T00:21:45.9012092+02:00</AppointmentDoneUntil>
  <AppointmentOccasionId>sample string 2</AppointmentOccasionId>
  <AppointmentText>sample string 3</AppointmentText>
  <ContractId>sample string 1</ContractId>
</AppointmentRequest>

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 'AppointmentRequest'.

Response Information

Resource Description

ResponseDataOfIListOfAppointment
NameDescriptionTypeAdditional information
Token

string

None.

Data

Collection of Appointment

None.

Response Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "Data": [
    {
      "Id": "sample string 1",
      "AppointmentNumber": 1.0,
      "AppointmentText": "sample string 2",
      "AppointmentReason": "sample string 3",
      "CustomerNumber": "sample string 4",
      "CustomerName1": "sample string 5",
      "CustomerName2": "sample string 6",
      "ContractNumber": "sample string 7",
      "Ticket": "sample string 8",
      "AppointmentDoneUntil": "2025-07-02T00:21:45.9012092+02:00",
      "AppointmentDoneOn": "2025-07-02T00:21:45.9012092+02:00",
      "AppointmentCreated": "2025-07-02T00:21:45.9012092+02:00",
      "BasketNumber": "sample string 9",
      "ReceiptNumber": "sample string 10",
      "CoverLetter": true,
      "Irrecoverability": true,
      "Goodwill": true,
      "InstallmentContract": true
    },
    {
      "Id": "sample string 1",
      "AppointmentNumber": 1.0,
      "AppointmentText": "sample string 2",
      "AppointmentReason": "sample string 3",
      "CustomerNumber": "sample string 4",
      "CustomerName1": "sample string 5",
      "CustomerName2": "sample string 6",
      "ContractNumber": "sample string 7",
      "Ticket": "sample string 8",
      "AppointmentDoneUntil": "2025-07-02T00:21:45.9012092+02:00",
      "AppointmentDoneOn": "2025-07-02T00:21:45.9012092+02:00",
      "AppointmentCreated": "2025-07-02T00:21:45.9012092+02:00",
      "BasketNumber": "sample string 9",
      "ReceiptNumber": "sample string 10",
      "CoverLetter": true,
      "Irrecoverability": true,
      "Goodwill": true,
      "InstallmentContract": true
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseDataOfArrayOfAppointmentNdVm6wV7 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sts.Vas.Stp.Api.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sts.Vas.ProcessesDebitor.Models">
    <d2p1:Appointment>
      <d2p1:AppointmentCreated>2025-07-02T00:21:45.9012092+02:00</d2p1:AppointmentCreated>
      <d2p1:AppointmentDoneOn>2025-07-02T00:21:45.9012092+02:00</d2p1:AppointmentDoneOn>
      <d2p1:AppointmentDoneUntil>2025-07-02T00:21:45.9012092+02:00</d2p1:AppointmentDoneUntil>
      <d2p1:AppointmentNumber>1</d2p1:AppointmentNumber>
      <d2p1:AppointmentReason>sample string 3</d2p1:AppointmentReason>
      <d2p1:AppointmentText>sample string 2</d2p1:AppointmentText>
      <d2p1:BasketNumber>sample string 9</d2p1:BasketNumber>
      <d2p1:ContractNumber>sample string 7</d2p1:ContractNumber>
      <d2p1:CoverLetter>true</d2p1:CoverLetter>
      <d2p1:CustomerName1>sample string 5</d2p1:CustomerName1>
      <d2p1:CustomerName2>sample string 6</d2p1:CustomerName2>
      <d2p1:CustomerNumber>sample string 4</d2p1:CustomerNumber>
      <d2p1:Goodwill>true</d2p1:Goodwill>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:InstallmentContract>true</d2p1:InstallmentContract>
      <d2p1:Irrecoverability>true</d2p1:Irrecoverability>
      <d2p1:ReceiptNumber>sample string 10</d2p1:ReceiptNumber>
      <d2p1:Ticket>sample string 8</d2p1:Ticket>
    </d2p1:Appointment>
    <d2p1:Appointment>
      <d2p1:AppointmentCreated>2025-07-02T00:21:45.9012092+02:00</d2p1:AppointmentCreated>
      <d2p1:AppointmentDoneOn>2025-07-02T00:21:45.9012092+02:00</d2p1:AppointmentDoneOn>
      <d2p1:AppointmentDoneUntil>2025-07-02T00:21:45.9012092+02:00</d2p1:AppointmentDoneUntil>
      <d2p1:AppointmentNumber>1</d2p1:AppointmentNumber>
      <d2p1:AppointmentReason>sample string 3</d2p1:AppointmentReason>
      <d2p1:AppointmentText>sample string 2</d2p1:AppointmentText>
      <d2p1:BasketNumber>sample string 9</d2p1:BasketNumber>
      <d2p1:ContractNumber>sample string 7</d2p1:ContractNumber>
      <d2p1:CoverLetter>true</d2p1:CoverLetter>
      <d2p1:CustomerName1>sample string 5</d2p1:CustomerName1>
      <d2p1:CustomerName2>sample string 6</d2p1:CustomerName2>
      <d2p1:CustomerNumber>sample string 4</d2p1:CustomerNumber>
      <d2p1:Goodwill>true</d2p1:Goodwill>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:InstallmentContract>true</d2p1:InstallmentContract>
      <d2p1:Irrecoverability>true</d2p1:Irrecoverability>
      <d2p1:ReceiptNumber>sample string 10</d2p1:ReceiptNumber>
      <d2p1:Ticket>sample string 8</d2p1:Ticket>
    </d2p1:Appointment>
  </Data>
  <Token>sample string 1</Token>
</ResponseDataOfArrayOfAppointmentNdVm6wV7>