Report Filing Service

<back to all web services

FakeMsCountryCodeRequest

namespace PwC.Elmaas.Core.Domain.Concretes.Dac6.Models

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    type MSCountryCode =
        | AT = 0
        | BE = 1
        | BG = 2
        | CY = 3
        | CZ = 4
        | DK = 5
        | EE = 6
        | FI = 7
        | FR = 8
        | DE = 9
        | GR = 10
        | HU = 11
        | HR = 12
        | IE = 13
        | IT = 14
        | LV = 15
        | LT = 16
        | LU = 17
        | MT = 18
        | NL = 19
        | PL = 20
        | PT = 21
        | RO = 22
        | SK = 23
        | SI = 24
        | ES = 25
        | SE = 26
        | GB = 27

    [<AllowNullLiteral>]
    type FakeMsCountryCodeRequest() = 
        class end

F# FakeMsCountryCodeRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .x-msgpack suffix or ?format=x-msgpack

HTTP + X-MSGPACK

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

POST /x-msgpack/reply/FakeMsCountryCodeRequest HTTP/1.1 
Host: reportfiling.staging.pwc.de 
Accept: application/x-msgpack
Content-Type: application/x-msgpack
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: application/x-msgpack
Content-Length: length

"AT"