POST api/BanasAIHRApi/LaboratoryMasterRtr

Request Information

URI Parameters

None.

Body Parameters

LaboratoryViewModel
NameDescriptionTypeAdditional information
LaboratoryId

integer

None.

LaboratoryName

string

None.

LaboratoryCode

string

None.

IsActive

boolean

None.

CreateUser

string

None.

CreateDate

string

None.

UpdateUser

string

None.

UpdateDate

string

None.

Action

string

None.

LaboratoryList

Collection of BanasAIHR_LaboratoryMasterRtr_Result

None.

Request Formats

application/json, text/json

Sample:
{
  "LaboratoryId": 1,
  "LaboratoryName": "sample string 2",
  "LaboratoryCode": "sample string 3",
  "IsActive": true,
  "CreateUser": "sample string 5",
  "CreateDate": "sample string 6",
  "UpdateUser": "sample string 7",
  "UpdateDate": "sample string 8",
  "Action": "sample string 9",
  "LaboratoryList": [
    {
      "LaboratoryId": 1,
      "LaboratoryName": "sample string 2",
      "LaboratoryCode": "sample string 3",
      "IsActive": true,
      "CreateUser": "sample string 5",
      "CreateDate": "sample string 6",
      "UpdateUser": "sample string 7",
      "UpdateDate": "sample string 8"
    },
    {
      "LaboratoryId": 1,
      "LaboratoryName": "sample string 2",
      "LaboratoryCode": "sample string 3",
      "IsActive": true,
      "CreateUser": "sample string 5",
      "CreateDate": "sample string 6",
      "UpdateUser": "sample string 7",
      "UpdateDate": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<LaboratoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BanasAIHRViewModel.Master">
  <Action>sample string 9</Action>
  <CreateDate>sample string 6</CreateDate>
  <CreateUser>sample string 5</CreateUser>
  <IsActive>true</IsActive>
  <LaboratoryCode>sample string 3</LaboratoryCode>
  <LaboratoryId>1</LaboratoryId>
  <LaboratoryList xmlns:d2p1="http://schemas.datacontract.org/2004/07/BanasAIHRdb">
    <d2p1:BanasAIHR_LaboratoryMasterRtr_Result>
      <d2p1:CreateDate>sample string 6</d2p1:CreateDate>
      <d2p1:CreateUser>sample string 5</d2p1:CreateUser>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:LaboratoryCode>sample string 3</d2p1:LaboratoryCode>
      <d2p1:LaboratoryId>1</d2p1:LaboratoryId>
      <d2p1:LaboratoryName>sample string 2</d2p1:LaboratoryName>
      <d2p1:UpdateDate>sample string 8</d2p1:UpdateDate>
      <d2p1:UpdateUser>sample string 7</d2p1:UpdateUser>
    </d2p1:BanasAIHR_LaboratoryMasterRtr_Result>
    <d2p1:BanasAIHR_LaboratoryMasterRtr_Result>
      <d2p1:CreateDate>sample string 6</d2p1:CreateDate>
      <d2p1:CreateUser>sample string 5</d2p1:CreateUser>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:LaboratoryCode>sample string 3</d2p1:LaboratoryCode>
      <d2p1:LaboratoryId>1</d2p1:LaboratoryId>
      <d2p1:LaboratoryName>sample string 2</d2p1:LaboratoryName>
      <d2p1:UpdateDate>sample string 8</d2p1:UpdateDate>
      <d2p1:UpdateUser>sample string 7</d2p1:UpdateUser>
    </d2p1:BanasAIHR_LaboratoryMasterRtr_Result>
  </LaboratoryList>
  <LaboratoryName>sample string 2</LaboratoryName>
  <UpdateDate>sample string 8</UpdateDate>
  <UpdateUser>sample string 7</UpdateUser>
</LaboratoryViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.