POST api/APILogs/Add
Request Information
URI Parameters
None.
Body Parameters
APILogs| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| API_ID | integer |
None. |
|
| SOURCE | string |
None. |
|
| REQUEST_URL | string |
None. |
|
| REQUEST_PACKET | string |
None. |
|
| RESPONSE_PACKET | string |
None. |
|
| CREATED_BY | string |
None. |
|
| CREATED_ON | string |
None. |
|
| UPDATED_BY | string |
None. |
|
| UPDATED_ON | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"API_ID": 2,
"SOURCE": "sample string 3",
"REQUEST_URL": "sample string 4",
"REQUEST_PACKET": "sample string 5",
"RESPONSE_PACKET": "sample string 6",
"CREATED_BY": "sample string 7",
"CREATED_ON": "sample string 8",
"UPDATED_BY": "sample string 9",
"UPDATED_ON": "sample string 10"
}
application/xml, text/xml
Sample:
<APILogs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EventMubarakAPI.Models"> <API_ID>2</API_ID> <CREATED_BY>sample string 7</CREATED_BY> <CREATED_ON>sample string 8</CREATED_ON> <ID>1</ID> <REQUEST_PACKET>sample string 5</REQUEST_PACKET> <REQUEST_URL>sample string 4</REQUEST_URL> <RESPONSE_PACKET>sample string 6</RESPONSE_PACKET> <SOURCE>sample string 3</SOURCE> <UPDATED_BY>sample string 9</UPDATED_BY> <UPDATED_ON>sample string 10</UPDATED_ON> </APILogs>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfAPILogs| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| ResponseMessage | string |
None. |
|
| Data | Collection of APILogs |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"ResponseMessage": "sample string 2",
"Data": [
{
"ID": 1,
"API_ID": 2,
"SOURCE": "sample string 3",
"REQUEST_URL": "sample string 4",
"REQUEST_PACKET": "sample string 5",
"RESPONSE_PACKET": "sample string 6",
"CREATED_BY": "sample string 7",
"CREATED_ON": "sample string 8",
"UPDATED_BY": "sample string 9",
"UPDATED_ON": "sample string 10"
},
{
"ID": 1,
"API_ID": 2,
"SOURCE": "sample string 3",
"REQUEST_URL": "sample string 4",
"REQUEST_PACKET": "sample string 5",
"RESPONSE_PACKET": "sample string 6",
"CREATED_BY": "sample string 7",
"CREATED_ON": "sample string 8",
"UPDATED_BY": "sample string 9",
"UPDATED_ON": "sample string 10"
}
]
}
application/xml, text/xml
Sample:
<ResponseOfAPILogs_SzSEHSlJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EventMubarakAPI.Models">
<Data>
<APILogs>
<API_ID>2</API_ID>
<CREATED_BY>sample string 7</CREATED_BY>
<CREATED_ON>sample string 8</CREATED_ON>
<ID>1</ID>
<REQUEST_PACKET>sample string 5</REQUEST_PACKET>
<REQUEST_URL>sample string 4</REQUEST_URL>
<RESPONSE_PACKET>sample string 6</RESPONSE_PACKET>
<SOURCE>sample string 3</SOURCE>
<UPDATED_BY>sample string 9</UPDATED_BY>
<UPDATED_ON>sample string 10</UPDATED_ON>
</APILogs>
<APILogs>
<API_ID>2</API_ID>
<CREATED_BY>sample string 7</CREATED_BY>
<CREATED_ON>sample string 8</CREATED_ON>
<ID>1</ID>
<REQUEST_PACKET>sample string 5</REQUEST_PACKET>
<REQUEST_URL>sample string 4</REQUEST_URL>
<RESPONSE_PACKET>sample string 6</RESPONSE_PACKET>
<SOURCE>sample string 3</SOURCE>
<UPDATED_BY>sample string 9</UPDATED_BY>
<UPDATED_ON>sample string 10</UPDATED_ON>
</APILogs>
</Data>
<ResponseCode>1</ResponseCode>
<ResponseMessage>sample string 2</ResponseMessage>
</ResponseOfAPILogs_SzSEHSlJ>