POST api/AdminService/PurgeErrors
Documentation for 'PurgeErrors'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| request | Documentation for 'request'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Days": 1,
"Source": "sample string 2"
}
application/xml, text/xml
Sample:
<PurgeErrorsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Logs"> <Days>1</Days> <Source>sample string 2</Source> </PurgeErrorsRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{
"status": "sample string 1",
"Message": {
"Success": true,
"DeletedErrors": 2,
"DeletedDetails": 3,
"Message": "sample string 4"
}
}
application/xml, text/xml
Sample:
<ResponseBaseOfErrorActionResult6FUYLq0Q xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">
<Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Logs">
<d2p1:DeletedDetails>3</d2p1:DeletedDetails>
<d2p1:DeletedErrors>2</d2p1:DeletedErrors>
<d2p1:Message>sample string 4</d2p1:Message>
<d2p1:Success>true</d2p1:Success>
</Message>
<status>sample string 1</status>
</ResponseBaseOfErrorActionResult6FUYLq0Q>