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

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

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

"AT"