POST api/SpecimenNature/update
Request Information
URI Parameters
None.
Body Parameters
SpecimenNature| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| SPECIMEN_NAME | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"SPECIMEN_NAME": "sample string 1"
}
application/xml, text/xml
Sample:
<SpecimenNature xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models"> <ID>1</ID> <SPECIMEN_NAME>sample string 1</SPECIMEN_NAME> </SpecimenNature>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SpecimenNatureResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| flag | integer |
None. |
|
| Message | string |
None. |
|
| Data | Collection of SpecimenNature |
None. |
Response Formats
application/json, text/json
Sample:
{
"flag": 1,
"Message": "sample string 2",
"Data": [
{
"ID": 1,
"SPECIMEN_NAME": "sample string 1"
},
{
"ID": 1,
"SPECIMEN_NAME": "sample string 1"
}
]
}
application/xml, text/xml
Sample:
<SpecimenNatureResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models">
<Data>
<SpecimenNature>
<ID>1</ID>
<SPECIMEN_NAME>sample string 1</SPECIMEN_NAME>
</SpecimenNature>
<SpecimenNature>
<ID>1</ID>
<SPECIMEN_NAME>sample string 1</SPECIMEN_NAME>
</SpecimenNature>
</Data>
<Message>sample string 2</Message>
<flag>1</flag>
</SpecimenNatureResponse>