| 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 |
|---|
#![allow(
dead_code,
non_camel_case_types,
non_snake_case,
clippy::upper_case_acronyms
)]
use serde::{Deserialize, Serialize};
use serde_json::Value;
use std::collections::HashMap;
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Default)]
#[serde(default)]
pub struct OutOfMarketAreaCommsJob {
pub id: i32,
#[serde(rename = "gasId")]
pub gas_id: String,
#[serde(rename = "dateCreated")]
pub date_created: String,
#[serde(rename = "processedRecords")]
pub processed_records: i32,
pub status: i32,
#[serde(rename = "fileName")]
pub file_name: String,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Default)]
#[serde(default)]
pub struct OutOfMarketAreaCommsJobsResponse {
#[serde(rename = "dataProcesses")]
pub data_processes: Vec<OutOfMarketAreaCommsJob>,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Default)]
#[serde(default)]
pub struct GetOutOfMarketAreaCommsJobsRequest {}
Rust GetOutOfMarketAreaCommsJobsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"dataProcesses":[{"id":0,"gasId":"String","dateCreated":"String","processedRecords":0,"status":0,"fileName":"String"}]}