POST api/userlab/insert

Request Information

URI Parameters

None.

Body Parameters

UserLabInsertInput
NameDescriptionTypeAdditional information
ID

integer

None.

DEPT_ID

integer

None.

USER_NAME

string

None.

LOGIN_NAME

string

None.

PASSWORD

string

None.

IS_ADMIN

boolean

None.

IS_LAB_USER

boolean

None.

IS_HOSPITAL_USER

boolean

None.

IS_INACTIVE

boolean

None.

HOSPITAL_ID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "DEPT_ID": 2,
  "USER_NAME": "sample string 3",
  "LOGIN_NAME": "sample string 4",
  "PASSWORD": "sample string 5",
  "IS_ADMIN": true,
  "IS_LAB_USER": true,
  "IS_HOSPITAL_USER": true,
  "IS_INACTIVE": true,
  "HOSPITAL_ID": "sample string 10"
}

application/xml, text/xml

Sample:
<UserLabInsertInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models">
  <DEPT_ID>2</DEPT_ID>
  <HOSPITAL_ID>sample string 10</HOSPITAL_ID>
  <ID>1</ID>
  <IS_ADMIN>true</IS_ADMIN>
  <IS_HOSPITAL_USER>true</IS_HOSPITAL_USER>
  <IS_INACTIVE>true</IS_INACTIVE>
  <IS_LAB_USER>true</IS_LAB_USER>
  <LOGIN_NAME>sample string 4</LOGIN_NAME>
  <PASSWORD>sample string 5</PASSWORD>
  <USER_NAME>sample string 3</USER_NAME>
</UserLabInsertInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserLabInsertResponse
NameDescriptionTypeAdditional information
flag

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "flag": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<UserLabInsertResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models">
  <Message>sample string 2</Message>
  <flag>1</flag>
</UserLabInsertResponse>