POST api/Donor/GetAllCenters
Request Information
URI Parameters
None.
Body Parameters
CentersModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CenterId | integer |
None. |
|
| GovernId | integer |
None. |
|
| CenterName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CenterId": 1,
"GovernId": 2,
"CenterName": "sample string 3"
}
application/xml, text/xml
Sample:
<CentersModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECBWebAPI.Core.Models"> <CenterId>1</CenterId> <CenterName>sample string 3</CenterName> <GovernId>2</GovernId> </CentersModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |