POST Appointment/Add

Request Information

URI Parameters

None.

Body Parameters

APPOINTMENT
NameDescriptionTypeAdditional information
APPOINTMENT_ID

integer

None.

APPOINTMENT_GROUP

APPOINTMENT_GROUP

None.

DATE

Collection of date

None.

START_TIME

string

None.

END_TIME

string

None.

CAPACITY

integer

None.

RESERVATION

integer

None.

ACTIVE

boolean

None.

REST_MIN

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "APPOINTMENT_ID": 1,
  "APPOINTMENT_GROUP": {
    "APPOINTMENT_GROUP_ID": 1,
    "BRANCH": {
      "BRANCH_ID": 1,
      "CITY": {
        "CITY_ID": 1,
        "CITY_TEXT": "sample string 2"
      },
      "BRANCH_NAME": "sample string 2",
      "ADDRESS": "sample string 3",
      "TELEPHONE": "sample string 4",
      "EMAIL": "sample string 5",
      "INSTAGRAM": "sample string 6",
      "FACEBOOK": "sample string 7",
      "TWITTER": "sample string 8",
      "X": 9.1,
      "Y": 10.1,
      "WEEKDAYS": "sample string 11",
      "WEEKEND": "sample string 12",
      "MAP_TEXT": "sample string 13",
      "INFO": "sample string 14",
      "MESSAGE": "sample string 15",
      "ACTIVE": true
    },
    "APPOINTMENT_GROUP_TYPE": {
      "APPOINTMENT_GROUP_TYPE_ID": 1,
      "APPOINTMENT_GROUP_TYPE_TR": "sample string 2",
      "APPOINTMENT_GROUP_TYPE_EN": "sample string 3"
    },
    "GENDER": {
      "GENDER_ID": 1,
      "GENDER_TR": "sample string 2",
      "GENDER_EN": "sample string 3"
    },
    "APPOINTMENT_GROUP_TR": "sample string 2",
    "APPOINTMENT_GROUP_EN": "sample string 3",
    "ACTIVE": true
  },
  "DATE": [
    "2024-05-29T02:50:11.8776072+03:00",
    "2024-05-29T02:50:11.8776072+03:00"
  ],
  "START_TIME": "sample string 2",
  "END_TIME": "sample string 3",
  "CAPACITY": 4,
  "RESERVATION": 5,
  "ACTIVE": true,
  "REST_MIN": 7.1
}

text/html

Sample:
{"APPOINTMENT_ID":1,"APPOINTMENT_GROUP":{"APPOINTMENT_GROUP_ID":1,"BRANCH":{"BRANCH_ID":1,"CITY":{"CITY_ID":1,"CITY_TEXT":"sample string 2"},"BRANCH_NAME":"sample string 2","ADDRESS":"sample string 3","TELEPHONE":"sample string 4","EMAIL":"sample string 5","INSTAGRAM":"sample string 6","FACEBOOK":"sample string 7","TWITTER":"sample string 8","X":9.1,"Y":10.1,"WEEKDAYS":"sample string 11","WEEKEND":"sample string 12","MAP_TEXT":"sample string 13","INFO":"sample string 14","MESSAGE":"sample string 15","ACTIVE":true},"APPOINTMENT_GROUP_TYPE":{"APPOINTMENT_GROUP_TYPE_ID":1,"APPOINTMENT_GROUP_TYPE_TR":"sample string 2","APPOINTMENT_GROUP_TYPE_EN":"sample string 3"},"GENDER":{"GENDER_ID":1,"GENDER_TR":"sample string 2","GENDER_EN":"sample string 3"},"APPOINTMENT_GROUP_TR":"sample string 2","APPOINTMENT_GROUP_EN":"sample string 3","ACTIVE":true},"DATE":["2024-05-29T02:50:11.8776072+03:00","2024-05-29T02:50:11.8776072+03:00"],"START_TIME":"sample string 2","END_TIME":"sample string 3","CAPACITY":4,"RESERVATION":5,"ACTIVE":true,"REST_MIN":7.1}

application/xml, text/xml

Sample:
<APPOINTMENT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bnfBLL.SYSTEM">
  <ACTIVE>true</ACTIVE>
  <APPOINTMENT_GROUP>
    <ACTIVE>true</ACTIVE>
    <APPOINTMENT_GROUP_EN>sample string 3</APPOINTMENT_GROUP_EN>
    <APPOINTMENT_GROUP_ID>1</APPOINTMENT_GROUP_ID>
    <APPOINTMENT_GROUP_TR>sample string 2</APPOINTMENT_GROUP_TR>
    <APPOINTMENT_GROUP_TYPE>
      <APPOINTMENT_GROUP_TYPE_EN>sample string 3</APPOINTMENT_GROUP_TYPE_EN>
      <APPOINTMENT_GROUP_TYPE_ID>1</APPOINTMENT_GROUP_TYPE_ID>
      <APPOINTMENT_GROUP_TYPE_TR>sample string 2</APPOINTMENT_GROUP_TYPE_TR>
    </APPOINTMENT_GROUP_TYPE>
    <BRANCH>
      <ACTIVE>true</ACTIVE>
      <ADDRESS>sample string 3</ADDRESS>
      <BRANCH_ID>1</BRANCH_ID>
      <BRANCH_NAME>sample string 2</BRANCH_NAME>
      <CITY>
        <CITY_ID>1</CITY_ID>
        <CITY_TEXT>sample string 2</CITY_TEXT>
      </CITY>
      <EMAIL>sample string 5</EMAIL>
      <FACEBOOK>sample string 7</FACEBOOK>
      <INFO>sample string 14</INFO>
      <INSTAGRAM>sample string 6</INSTAGRAM>
      <MAP_TEXT>sample string 13</MAP_TEXT>
      <MESSAGE>sample string 15</MESSAGE>
      <TELEPHONE>sample string 4</TELEPHONE>
      <TWITTER>sample string 8</TWITTER>
      <WEEKDAYS>sample string 11</WEEKDAYS>
      <WEEKEND>sample string 12</WEEKEND>
      <X>9.1</X>
      <Y>10.1</Y>
    </BRANCH>
    <GENDER xmlns:d3p1="http://schemas.datacontract.org/2004/07/bnfBLL.USER">
      <d3p1:GENDER_EN>sample string 3</d3p1:GENDER_EN>
      <d3p1:GENDER_ID>1</d3p1:GENDER_ID>
      <d3p1:GENDER_TR>sample string 2</d3p1:GENDER_TR>
    </GENDER>
  </APPOINTMENT_GROUP>
  <APPOINTMENT_ID>1</APPOINTMENT_ID>
  <CAPACITY>4</CAPACITY>
  <DATE xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>2024-05-29T02:50:11.8776072+03:00</d2p1:dateTime>
    <d2p1:dateTime>2024-05-29T02:50:11.8776072+03:00</d2p1:dateTime>
  </DATE>
  <END_TIME>sample string 3</END_TIME>
  <RESERVATION>5</RESERVATION>
  <REST_MIN>7.1</REST_MIN>
  <START_TIME>sample string 2</START_TIME>
</APPOINTMENT>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProcessResult
NameDescriptionTypeAdditional information
m_sClass

string

None.

m_sMethod

string

None.

m_iLastId

integer

None.

m_cDataTable

DataTable

None.

m_lUserMessageList

Collection of string

None.

m_sErrorMessage

string

None.

m_cException

Exception

None.

m_eProcessState

ProcessState

None.

Response Formats

application/json, text/json

Sample:
{
  "m_eProcessState": 0,
  "m_sClass": "sample string 1",
  "m_sMethod": "sample string 2",
  "m_iLastId": 3,
  "m_cDataTable": null,
  "m_lUserMessageList": [
    "sample string 1",
    "sample string 2"
  ],
  "m_sErrorMessage": "sample string 4",
  "m_cException": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}

text/html

Sample:
{"m_eProcessState":0,"m_sClass":"sample string 1","m_sMethod":"sample string 2","m_iLastId":3,"m_cDataTable":null,"m_lUserMessageList":["sample string 1","sample string 2"],"m_sErrorMessage":"sample string 4","m_cException":{"ClassName":"System.Exception","Message":null,"Data":null,"InnerException":null,"HelpURL":"sample string 1","StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":3,"Source":"sample string 2","WatsonBuckets":null}}

application/xml, text/xml

Sample:
<ProcessResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bnfOBJ">
  <m_cDataTable i:nil="true" />
  <m_cException xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </m_cException>
  <m_eProcessState>SystemException</m_eProcessState>
  <m_iLastId>3</m_iLastId>
  <m_lUserMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </m_lUserMessageList>
  <m_sClass>sample string 1</m_sClass>
  <m_sErrorMessage>sample string 4</m_sErrorMessage>
  <m_sMethod>sample string 2</m_sMethod>
</ProcessResult>