GET api/Status/SelectById/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseOfStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| ResponseMessage | string |
None. |
|
| Data | Collection of Status |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"ResponseMessage": "sample string 2",
"Data": [
{
"ID": 1,
"STATUS": "sample string 2"
},
{
"ID": 1,
"STATUS": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<ResponseOfStatus_SzSEHSlJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EventMubarakAPI.Models">
<Data>
<Status>
<ID>1</ID>
<STATUS>sample string 2</STATUS>
</Status>
<Status>
<ID>1</ID>
<STATUS>sample string 2</STATUS>
</Status>
</Data>
<ResponseCode>1</ResponseCode>
<ResponseMessage>sample string 2</ResponseMessage>
</ResponseOfStatus_SzSEHSlJ>