POST api/errorlog/saveerrorlog
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| errorLog | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"ValidationErrors": {
"System.Object": {}
},
"ErrorLog": [
{
"Id": "sample string 1",
"ServiceName": "sample string 2",
"CalledTime": "sample string 3",
"ErrorDesc": "sample string 4",
"RequestObj": "sample string 5",
"UserId": "sample string 6",
"Source": "sample string 7"
},
{
"Id": "sample string 1",
"ServiceName": "sample string 2",
"CalledTime": "sample string 3",
"ErrorDesc": "sample string 4",
"RequestObj": "sample string 5",
"UserId": "sample string 6",
"Source": "sample string 7"
},
{
"Id": "sample string 1",
"ServiceName": "sample string 2",
"CalledTime": "sample string 3",
"ErrorDesc": "sample string 4",
"RequestObj": "sample string 5",
"UserId": "sample string 6",
"Source": "sample string 7"
}
],
"ReturnStatus": true,
"ReturnMessage": [
"sample string 1",
"sample string 2",
"sample string 3"
],
"ReturnCount": 2,
"ReturnValue": 3
}
text/xml
Sample:
<ErrorLogViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.HarvestCo.API.ViewModels">
<ReturnCount xmlns="http://schemas.datacontract.org/2004/07/Peercore.HarvestCo.Model">2</ReturnCount>
<ReturnMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Peercore.HarvestCo.Model">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
<d2p1:string>sample string 3</d2p1:string>
</ReturnMessage>
<ReturnStatus xmlns="http://schemas.datacontract.org/2004/07/Peercore.HarvestCo.Model">true</ReturnStatus>
<ReturnValue xmlns="http://schemas.datacontract.org/2004/07/Peercore.HarvestCo.Model">3</ReturnValue>
<ValidationErrors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Peercore.HarvestCo.Model">
<d2p1:KeyValueOfanyTypeanyType>
<d2p1:Key />
<d2p1:Value />
</d2p1:KeyValueOfanyTypeanyType>
<d2p1:KeyValueOfanyTypeanyType>
<d2p1:Key />
<d2p1:Value />
</d2p1:KeyValueOfanyTypeanyType>
<d2p1:KeyValueOfanyTypeanyType>
<d2p1:Key />
<d2p1:Value />
</d2p1:KeyValueOfanyTypeanyType>
</ValidationErrors>
<ErrorLog xmlns:d2p1="http://schemas.datacontract.org/2004/07/Peercore.HarvestCo.Model">
<d2p1:ErrorLogModel>
<d2p1:CalledTime>sample string 3</d2p1:CalledTime>
<d2p1:ErrorDesc>sample string 4</d2p1:ErrorDesc>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:RequestObj>sample string 5</d2p1:RequestObj>
<d2p1:ServiceName>sample string 2</d2p1:ServiceName>
<d2p1:Source>sample string 7</d2p1:Source>
<d2p1:UserId>sample string 6</d2p1:UserId>
</d2p1:ErrorLogModel>
<d2p1:ErrorLogModel>
<d2p1:CalledTime>sample string 3</d2p1:CalledTime>
<d2p1:ErrorDesc>sample string 4</d2p1:ErrorDesc>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:RequestObj>sample string 5</d2p1:RequestObj>
<d2p1:ServiceName>sample string 2</d2p1:ServiceName>
<d2p1:Source>sample string 7</d2p1:Source>
<d2p1:UserId>sample string 6</d2p1:UserId>
</d2p1:ErrorLogModel>
<d2p1:ErrorLogModel>
<d2p1:CalledTime>sample string 3</d2p1:CalledTime>
<d2p1:ErrorDesc>sample string 4</d2p1:ErrorDesc>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:RequestObj>sample string 5</d2p1:RequestObj>
<d2p1:ServiceName>sample string 2</d2p1:ServiceName>
<d2p1:Source>sample string 7</d2p1:Source>
<d2p1:UserId>sample string 6</d2p1:UserId>
</d2p1:ErrorLogModel>
</ErrorLog>
</ErrorLogViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.