POST api/logs/purge
Supprime les logs du type typeLog dantant de plus de olderThanNbDays
Request Information
URI Parameters
None.
Body Parameters
Collection of PurgeLogsPOST| Name | Description | Type | Additional information |
|---|---|---|---|
| TypeLog |
Type de logs à supprimer |
TypeLogEnum |
None. |
| OlderThanNbDays |
Nombre de jours de conservation au delà duquel |
integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"TypeLog": 0,
"OlderThanNbDays": 1
},
{
"TypeLog": 0,
"OlderThanNbDays": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfPurgeLogsPOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelectUp.APIeSellerREST.Requests">
<PurgeLogsPOST>
<OlderThanNbDays>1</OlderThanNbDays>
<TypeLog>ApiConnection</TypeLog>
</PurgeLogsPOST>
<PurgeLogsPOST>
<OlderThanNbDays>1</OlderThanNbDays>
<TypeLog>ApiConnection</TypeLog>
</PurgeLogsPOST>
</ArrayOfPurgeLogsPOST>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.