POST api/Patients/AddExternalPatientTemp

Request Information

URI Parameters

None.

Body Parameters

ExternalPatientData
NameDescriptionTypeAdditional information
cust_num

integer

None.

id_num

string

None.

pasport

string

None.

last_name

string

None.

first_name

string

None.

sex

string

None.

born

date

None.

city_code

integer

None.

street

string

None.

apartment_num

string

None.

azip

string

None.

home

integer

None.

entrance

string

None.

p_o_b

integer

None.

insur_code

integer

None.

email

string

None.

homephone

string

None.

mobilephone

string

None.

fax

string

None.

workphone

string

None.

escort_phone

string

None.

sensitivity

string

None.

smoker

string

None.

MobileOrEmail

string

None.

RecaptchaResponse

string

None.

Request Formats

application/json, text/json

Sample:
{
  "cust_num": 1,
  "id_num": "sample string 1",
  "pasport": "sample string 2",
  "last_name": "sample string 3",
  "first_name": "sample string 4",
  "sex": "sample string 5",
  "born": "2024-11-21T11:31:07.9882872+02:00",
  "city_code": 1,
  "street": "sample string 6",
  "apartment_num": "sample string 7",
  "azip": "sample string 8",
  "home": 1,
  "entrance": "sample string 9",
  "p_o_b": 1,
  "insur_code": 1,
  "email": "sample string 10",
  "homephone": "sample string 11",
  "mobilephone": "sample string 12",
  "fax": "sample string 13",
  "workphone": "sample string 14",
  "escort_phone": "sample string 15",
  "sensitivity": "sample string 16",
  "smoker": "sample string 17",
  "MobileOrEmail": "sample string 18",
  "RecaptchaResponse": "sample string 19"
}

application/xml, text/xml

Sample:
<ExternalPatientData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.MedInterfaces">
  <MobileOrEmail>sample string 18</MobileOrEmail>
  <RecaptchaResponse>sample string 19</RecaptchaResponse>
  <apartment_num>sample string 7</apartment_num>
  <azip>sample string 8</azip>
  <born>2024-11-21T11:31:07.9882872+02:00</born>
  <city_code>1</city_code>
  <cust_num>1</cust_num>
  <email>sample string 10</email>
  <entrance>sample string 9</entrance>
  <escort_phone>sample string 15</escort_phone>
  <fax>sample string 13</fax>
  <first_name>sample string 4</first_name>
  <home>1</home>
  <homephone>sample string 11</homephone>
  <id_num>sample string 1</id_num>
  <insur_code>1</insur_code>
  <last_name>sample string 3</last_name>
  <mobilephone>sample string 12</mobilephone>
  <p_o_b>1</p_o_b>
  <pasport>sample string 2</pasport>
  <sensitivity>sample string 16</sensitivity>
  <sex>sample string 5</sex>
  <smoker>sample string 17</smoker>
  <street>sample string 6</street>
  <workphone>sample string 14</workphone>
</ExternalPatientData>

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

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.