| GET | /v1/NewCarDeltaUserAudits | Gets the new car delta user audit history | This endpoint provides an audit history list for the New Car Delta. The audit includes the Gas User ID, dates and times users turned the delta on/off and reasons for doing so. |
|---|
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum
Object = TypeVar('Object')
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetNewCarDeltaUserAuditsRequest(IGet):
pass
Python GetNewCarDeltaUserAuditsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/NewCarDeltaUserAudits HTTP/1.1 Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
user: String,
deltaStatus: String,
dateRequested: String,
reason: String,
modifiedDate: String
}
]