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 .xml suffix or ?format=xml

HTTP + XML

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

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

<FakeMsCountryCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PwC.Elmaas.Core.Services.Contracts.Dac6.Requests" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<MSCountryCode xmlns="http://schemas.datacontract.org/2004/07/PwC.Elmaas.Core.Domain.Concretes.Dac6.Models">AT</MSCountryCode>