| GET | /serialnumber/{brand}/{serialNumber}/lookup | Get a serial number history |
|---|
namespace Richemont.Booster2.PublicApi.MasterFile.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type SerialNumberList() =
///<summary>
///Article Code
///</summary>
[<ApiMember(Description="Article Code", IsRequired=true)>]
member val articleCode:String = null with get,set
///<summary>
///Serial Number
///</summary>
[<ApiMember(Description="Serial Number", IsRequired=true)>]
member val serialNumber:String = null with get,set
[<AllowNullLiteral>]
type GetSerialNumberHistoryResponse() =
inherit ResizeArray<SerialNumberList>()
[<AllowNullLiteral>]
type GetSerialNumberHistory() =
///<summary>
///Brand
///</summary>
[<ApiMember(Description="Brand", IsRequired=true)>]
member val brand:String = null with get,set
///<summary>
///Serial Number
///</summary>
[<ApiMember(Description="Serial Number", IsRequired=true)>]
member val serialNumber:String = null with get,set
F# GetSerialNumberHistory 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 /serialnumber/{brand}/{serialNumber}/lookup HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length []