| GET | /v1/OutOfMarketArea | Get list of all Out Of Market Area Commission Number imports | Get list of all Out Of Market Area Commission Number imports |
|---|
package dtos
type OutOfMarketAreaCommsJob struct {
Id int `json:"id,omitempty"`
GasId string `json:"gasId"`
DateCreated string `json:"dateCreated"`
ProcessedRecords int `json:"processedRecords,omitempty"`
Status int `json:"status,omitempty"`
FileName string `json:"fileName"`
}
type OutOfMarketAreaCommsJobsResponse struct {
DataProcesses []OutOfMarketAreaCommsJob `json:"dataProcesses"`
}
type GetOutOfMarketAreaCommsJobsRequest struct {
}
Go GetOutOfMarketAreaCommsJobsRequest 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/OutOfMarketArea 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
{
dataProcesses:
[
{
id: 0,
gasId: String,
dateCreated: String,
processedRecords: 0,
status: 0,
fileName: String
}
]
}