Mercedes.Agency.Orchestration.API

<back to all web services

GetBackOrderMinMaxDaysRequest

BackOrder
Requires Authentication
The following routes are available for this service:
GET/v1/backorder/minmaxdaysGet Back Order Minimum Maximum Days
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Mercedes.Agency.Orchestration.API.ServiceModel.BackOrders;
using Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Responses;
using Mercedes.Agency.API.Shared.POCO;

namespace Mercedes.Agency.API.Shared.POCO
{
    public partial class DayRange
    {
        public virtual int? Min { get; set; }
        public virtual int? Max { get; set; }
    }

}

namespace Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Responses
{
    public partial class GetBackOrderMinMaxDaysResponse
    {
        public virtual DayRange Created { get; set; }
        public virtual DayRange Updated { get; set; }
    }

}

namespace Mercedes.Agency.Orchestration.API.ServiceModel.BackOrders
{
    public partial class GetBackOrderMinMaxDaysRequest
        : IGet
    {
    }

}

C# GetBackOrderMinMaxDaysRequest 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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/backorder/minmaxdays HTTP/1.1 
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Created":{"Min":0,"Max":0},"Updated":{"Min":0,"Max":0}}