POST | /v1/OutOfMarketArea | Save list of all Out Of Market Area Commission Numbers | Save list of all Out Of Market Area Commission Numbers |
---|
export class CommRow
{
public row: number;
public comm: string;
public constructor(init?: Partial<CommRow>) { (Object as any).assign(this, init); }
}
export class OutOfMarketAreaCommsValidationError
{
public message: string;
public row: number;
public constructor(init?: Partial<OutOfMarketAreaCommsValidationError>) { (Object as any).assign(this, init); }
}
export class PostOutOfMarketAreaCommsJobsResponse
{
public comms: CommRow[] = [];
public validationErrors: OutOfMarketAreaCommsValidationError[] = [];
public constructor(init?: Partial<PostOutOfMarketAreaCommsJobsResponse>) { (Object as any).assign(this, init); }
}
export class PostOutOfMarketAreaCommsJobsRequest implements IGet
{
public constructor(init?: Partial<PostOutOfMarketAreaCommsJobsRequest>) { (Object as any).assign(this, init); }
}
TypeScript PostOutOfMarketAreaCommsJobsRequest 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.
POST /v1/OutOfMarketArea HTTP/1.1
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { comms: [ { row: 0, comm: String } ], validationErrors: [ { message: String, row: 0 } ] }