Mercedes.VehicleManagement.API

<back to all web services

SecuredVehicleAuditRequest

SecuredAudit
Requires Authentication
The following routes are available for this service:
GET/v1/SecuredAudit/{identifier}Gets vehicle secured audits for supplied identifierGets vehicle secured audits for supplied identifier
package dtos

type VehicleAuditDetails struct {
	UserId       *string `json:"userId,omitempty"`
	Status       bool    `json:"status,omitempty"`
	Notes        *string `json:"notes,omitempty"`
	CreationDate *string `json:"creationDate,omitempty"`
}

type VehicleSecuredAuditDetails struct {
	VehicleAuditDetails
	Vin              *string `json:"vin,omitempty"`
	CommissionNumber *string `json:"commissionNumber,omitempty"`
	IsBulkUpdate     bool    `json:"isBulkUpdate,omitempty"`
}

type SecuredVehicleAuditResponse struct {
	VehicleSecuredAudits []VehicleSecuredAuditDetails `json:"vehicleSecuredAudits,omitempty"`
}

type SecuredVehicleAuditRequest struct {
	Identifier *string `json:"identifier,omitempty"`
}

Go SecuredVehicleAuditRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/SecuredAudit/{identifier} HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"vehicleSecuredAudits":[{"vin":"String","commissionNumber":"String","isBulkUpdate":false,"userId":"String","status":false,"notes":"String","creationDate":"String"}]}