POST api/APIConfiguration/Add
Request Information
URI Parameters
None.
Body Parameters
APIConfiguration| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| API_NAME | string |
None. |
|
| BASE_URL | string |
None. |
|
| ROUTE_URL | string |
None. |
|
| METHOD | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"API_NAME": "sample string 2",
"BASE_URL": "sample string 3",
"ROUTE_URL": "sample string 4",
"METHOD": "sample string 5"
}
application/xml, text/xml
Sample:
<APIConfiguration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EventMubarakAPI.Models"> <API_NAME>sample string 2</API_NAME> <BASE_URL>sample string 3</BASE_URL> <ID>1</ID> <METHOD>sample string 5</METHOD> <ROUTE_URL>sample string 4</ROUTE_URL> </APIConfiguration>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfAPIConfiguration| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| ResponseMessage | string |
None. |
|
| Data | Collection of APIConfiguration |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"ResponseMessage": "sample string 2",
"Data": [
{
"ID": 1,
"API_NAME": "sample string 2",
"BASE_URL": "sample string 3",
"ROUTE_URL": "sample string 4",
"METHOD": "sample string 5"
},
{
"ID": 1,
"API_NAME": "sample string 2",
"BASE_URL": "sample string 3",
"ROUTE_URL": "sample string 4",
"METHOD": "sample string 5"
}
]
}
application/xml, text/xml
Sample:
<ResponseOfAPIConfiguration_SzSEHSlJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EventMubarakAPI.Models">
<Data>
<APIConfiguration>
<API_NAME>sample string 2</API_NAME>
<BASE_URL>sample string 3</BASE_URL>
<ID>1</ID>
<METHOD>sample string 5</METHOD>
<ROUTE_URL>sample string 4</ROUTE_URL>
</APIConfiguration>
<APIConfiguration>
<API_NAME>sample string 2</API_NAME>
<BASE_URL>sample string 3</BASE_URL>
<ID>1</ID>
<METHOD>sample string 5</METHOD>
<ROUTE_URL>sample string 4</ROUTE_URL>
</APIConfiguration>
</Data>
<ResponseCode>1</ResponseCode>
<ResponseMessage>sample string 2</ResponseMessage>
</ResponseOfAPIConfiguration_SzSEHSlJ>