Report Filing Service

<back to all web services

FakeMsCountryCodeRequest

import Foundation
import ServiceStack

public class FakeMsCountryCodeRequest : Codable
{
    required public init(){}
}

public enum MSCountryCode : String, Codable
{
    case AT
    case BE
    case BG
    case CY
    case CZ
    case DK
    case EE
    case FI
    case FR
    case DE
    case GR
    case HU
    case HR
    case IE
    case IT
    case LV
    case LT
    case LU
    case MT
    case NL
    case PL
    case PT
    case RO
    case SK
    case SI
    case ES
    case SE
    case GB
}


Swift 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.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"