| GET | /v1/MappedMarketingCodeJobs | Get list of Mapped Marketing Code jobs | Get list of Mapped Marketing Code jobs |
|---|
const std = @import("std");
pub const GetMarketingCodesJobsRequest = struct {};
pub const DataProcessJob = struct {
id: i32 = 0,
gasId: ?[]const u8 = null,
dateCreated: ?[]const u8 = null,
processedRecords: i32 = 0,
status: i32 = 0,
statusName: ?[]const u8 = null,
fileName: ?[]const u8 = null,
};
pub const GetDataProcessJobsResponse = struct {
dataProcesses: []DataProcessJob = &.{},
};
Zig GetMarketingCodesJobsRequest 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/MappedMarketingCodeJobs 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,
statusName: String,
fileName: String
}
]
}