POST api/Visits/GetPasswordFromOldSys

Request Information

URI Parameters

None.

Body Parameters

BaseCustomer
NameDescriptionTypeAdditional information
custNum

integer

None.

last_name

string

None.

first_name

string

None.

id_num

string

None.

pasport

string

None.

mobilePhone

string

None.

email

string

None.

street

string

None.

homePhone

string

None.

workPhone

string

None.

home

integer

None.

p_o_b

integer

None.

cityName

string

None.

azip

string

None.

entrance

string

None.

Request Formats

application/json, text/json

Sample:
{
  "custNum": 1,
  "last_name": "sample string 2",
  "first_name": "sample string 3",
  "id_num": "sample string 4",
  "pasport": "sample string 5",
  "mobilePhone": "sample string 6",
  "email": "sample string 7",
  "street": "sample string 8",
  "homePhone": "sample string 9",
  "workPhone": "sample string 10",
  "home": 11,
  "p_o_b": 12,
  "cityName": "sample string 13",
  "azip": "sample string 14",
  "entrance": "sample string 15"
}

application/xml, text/xml

Sample:
<BaseCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical">
  <azip>sample string 14</azip>
  <cityName>sample string 13</cityName>
  <custNum>1</custNum>
  <email>sample string 7</email>
  <entrance>sample string 15</entrance>
  <first_name>sample string 3</first_name>
  <home>11</home>
  <homePhone>sample string 9</homePhone>
  <id_num>sample string 4</id_num>
  <last_name>sample string 2</last_name>
  <mobilePhone>sample string 6</mobilePhone>
  <p_o_b>12</p_o_b>
  <pasport>sample string 5</pasport>
  <street>sample string 8</street>
  <workPhone>sample string 10</workPhone>
</BaseCustomer>

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

application/bson

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

Response Information

Resource Description

CustPasswordForDisplay
NameDescriptionTypeAdditional information
Password

string

None.

ExpDate

date

None.

ErrrorSendMsg

string

None.

IsSent

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Password": "sample string 1",
  "ExpDate": "2024-11-21T11:56:58.0381984+02:00",
  "ErrrorSendMsg": "sample string 3",
  "IsSent": true
}

application/xml, text/xml

Sample:
<CustPasswordForDisplay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.MedInterfaces">
  <ErrrorSendMsg>sample string 3</ErrrorSendMsg>
  <ExpDate>2024-11-21T11:56:58.0381984+02:00</ExpDate>
  <IsSent>true</IsSent>
  <Password>sample string 1</Password>
</CustPasswordForDisplay>

application/bson

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