GET api/LookUpCust/GetHospital?pCode={pCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pCode

integer

Required

Body Parameters

None.

Response Information

Resource Description

Hospital
NameDescriptionTypeAdditional information
code

integer

None.

user_code

integer

None.

name

string

String length: inclusive between 0 and 50

email

string

String length: inclusive between 0 and 30

address

string

String length: inclusive between 0 and 40

city

string

String length: inclusive between 0 and 21

phone

string

String length: inclusive between 0 and 13

fax

string

String length: inclusive between 0 and 13

city_code

integer

None.

interface_code

string

String length: inclusive between 0 and 40

remark

string

String length: inclusive between 0 and 254

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "user_code": 2,
  "name": "sample string 3",
  "email": "sample string 4",
  "address": "sample string 5",
  "city": "sample string 6",
  "phone": "sample string 7",
  "fax": "sample string 8",
  "city_code": 1,
  "interface_code": "sample string 9",
  "remark": "sample string 10"
}

application/xml, text/xml

Sample:
<Hospital xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <address>sample string 5</address>
  <city>sample string 6</city>
  <city_code>1</city_code>
  <code>1</code>
  <email>sample string 4</email>
  <fax>sample string 8</fax>
  <interface_code>sample string 9</interface_code>
  <name>sample string 3</name>
  <phone>sample string 7</phone>
  <remark>sample string 10</remark>
  <user_code>2</user_code>
</Hospital>

application/bson

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