POST api/NOD/{district}/{hospitalName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
district

string

None.

hospitalName

string

None.

Body Parameters

Collection of officerdetail
NameDescriptionTypeAdditional information
id

integer

None.

createdon

date

None.

SerialNo

string

None.

District_Code

string

None.

Block_Code

string

None.

PS_Code

string

None.

Nodal_Official_Name

string

None.

Designation

string

None.

Contact_No

string

None.

Delete_Status

string

None.

Opr_Date

string

None.

Opr_User

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "createdon": "2022-12-01T18:02:41.3347778+05:30",
    "SerialNo": "sample string 2",
    "District_Code": "sample string 3",
    "Block_Code": "sample string 4",
    "PS_Code": "sample string 5",
    "Nodal_Official_Name": "sample string 6",
    "Designation": "sample string 7",
    "Contact_No": "sample string 8",
    "Delete_Status": "sample string 9",
    "Opr_Date": "sample string 10",
    "Opr_User": "sample string 11"
  },
  {
    "id": 1,
    "createdon": "2022-12-01T18:02:41.3347778+05:30",
    "SerialNo": "sample string 2",
    "District_Code": "sample string 3",
    "Block_Code": "sample string 4",
    "PS_Code": "sample string 5",
    "Nodal_Official_Name": "sample string 6",
    "Designation": "sample string 7",
    "Contact_No": "sample string 8",
    "Delete_Status": "sample string 9",
    "Opr_Date": "sample string 10",
    "Opr_User": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfofficerdetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <officerdetail>
    <Block_Code>sample string 4</Block_Code>
    <Contact_No>sample string 8</Contact_No>
    <Delete_Status>sample string 9</Delete_Status>
    <Designation>sample string 7</Designation>
    <District_Code>sample string 3</District_Code>
    <Nodal_Official_Name>sample string 6</Nodal_Official_Name>
    <Opr_Date>sample string 10</Opr_Date>
    <Opr_User>sample string 11</Opr_User>
    <PS_Code>sample string 5</PS_Code>
    <SerialNo>sample string 2</SerialNo>
    <createdon>2022-12-01T18:02:41.3347778+05:30</createdon>
    <id>1</id>
  </officerdetail>
  <officerdetail>
    <Block_Code>sample string 4</Block_Code>
    <Contact_No>sample string 8</Contact_No>
    <Delete_Status>sample string 9</Delete_Status>
    <Designation>sample string 7</Designation>
    <District_Code>sample string 3</District_Code>
    <Nodal_Official_Name>sample string 6</Nodal_Official_Name>
    <Opr_Date>sample string 10</Opr_Date>
    <Opr_User>sample string 11</Opr_User>
    <PS_Code>sample string 5</PS_Code>
    <SerialNo>sample string 2</SerialNo>
    <createdon>2022-12-01T18:02:41.3347778+05:30</createdon>
    <id>1</id>
  </officerdetail>
</ArrayOfofficerdetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.