GET | /v1/MappedMarketingCodeJobs | Get list of Mapped Marketing Code jobs | Get list of Mapped Marketing Code jobs |
---|
import Foundation
import ServiceStack
public class GetMarketingCodesJobsRequest : IGet, Codable
{
required public init(){}
}
public class GetDataProcessJobsResponse : Codable
{
public var dataProcesses:[DataProcessJob] = []
required public init(){}
}
public class DataProcessJob : Codable
{
public var id:Int
public var gasId:String
public var dateCreated:String
public var processedRecords:Int
public var status:Int
public var statusName:String
public var fileName:String
required public init(){}
}
Swift GetMarketingCodesJobsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"dataProcesses":[{"id":0,"gasId":"String","dateCreated":"String","processedRecords":0,"status":0,"statusName":"String","fileName":"String"}]}