POST api/v1/Appointments

Request Information

URI Parameters

None.

Body Parameters

AppointmentsParams
NameDescriptionTypeAdditional information
IdApp

string

None.

IdCompany

string

None.

Type

integer

None.

Pager

Pager

None.

idAppointment

string

None.

idBranch

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdApp": "sample string 1",
  "IdCompany": "sample string 2",
  "Type": 3,
  "Pager": {
    "PageSize": 1,
    "CurrentPage": 1,
    "TotalPages": 2,
    "TotalElements": 3
  },
  "idAppointment": "sample string 4",
  "idBranch": "sample string 5"
}

application/xml, text/xml

Sample:
<GeneralModels.AppointmentsParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.mybooker.it.Models">
  <IdApp>sample string 1</IdApp>
  <IdCompany>sample string 2</IdCompany>
  <Pager xmlns:d2p1="http://schemas.datacontract.org/2004/07/api.mybooker.it.models">
    <d2p1:CurrentPage>1</d2p1:CurrentPage>
    <d2p1:PageSize>1</d2p1:PageSize>
    <d2p1:TotalElements>3</d2p1:TotalElements>
    <d2p1:TotalPages>2</d2p1:TotalPages>
  </Pager>
  <Type>3</Type>
  <idAppointment>sample string 4</idAppointment>
  <idBranch>sample string 5</idBranch>
</GeneralModels.AppointmentsParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AjaxBaseResponse
NameDescriptionTypeAdditional information
ExitCode

ExitCodes

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ExitCode": 0,
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<AjaxBaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.mybooker.it">
  <Data />
  <ExitCode>Ok</ExitCode>
  <Message>sample string 1</Message>
</AjaxBaseResponse>