POST api/GetSoilTestingLabsDetails
Request Information
URI Parameters
None.
Body Parameters
TestingLab| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| District | string |
Matching regular expression pattern: ^[a-zA-Z() -.\s]{2,}$ |
|
| Taluk | string |
Matching regular expression pattern: ^[a-zA-Z() -.\s]{2,}$ |
|
| LabName | string |
None. |
|
| LabAddress | string |
None. |
|
| ContactPerson | string |
None. |
|
| ContactNumber | string |
None. |
|
| TestingLabType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"District": "sample string 2",
"Taluk": "sample string 3",
"LabName": "sample string 4",
"LabAddress": "sample string 5",
"ContactPerson": "sample string 6",
"ContactNumber": "sample string 7",
"TestingLabType": "sample string 8"
}
application/xml, text/xml
Sample:
<TestingLab xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models"> <ContactNumber>sample string 7</ContactNumber> <ContactPerson>sample string 6</ContactPerson> <District>sample string 2</District> <ID>1</ID> <LabAddress>sample string 5</LabAddress> <LabName>sample string 4</LabName> <Taluk>sample string 3</Taluk> <TestingLabType>sample string 8</TestingLabType> </TestingLab>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />