POST api/XUpload/WriteToDB
Request Information
URI Parameters
None.
Body Parameters
ErrorObject| Name | Description | Type | Additional information |
|---|---|---|---|
| category | string |
None. |
|
| errMsg | string |
None. |
|
| uploadingRequestCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"category": "sample string 1",
"errMsg": "sample string 2",
"uploadingRequestCode": 3
}
application/xml, text/xml
Sample:
<ErrorObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DomainHostingWebApi.Controllers"> <category>sample string 1</category> <errMsg>sample string 2</errMsg> <uploadingRequestCode>3</uploadingRequestCode> </ErrorObject>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDTOOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Data | Object |
None. |
|
| Message | string |
None. |
|
| StatusCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Data": {},
"Message": "sample string 3",
"StatusCode": 4
}
application/xml, text/xml
Sample:
<ResponseDTOOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DomainHostingWebApi"> <Data /> <IsSuccess>true</IsSuccess> <Message>sample string 3</Message> <StatusCode>4</StatusCode> </ResponseDTOOfanyType>