Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The format of the response (delivered in the BODY) is:

Code Block
xml
xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response version="1.0">
     <Status></Status>
     <StatusCode></StatusCode>
     <FreeText language="ISO639-1 Languagecode"></FreeText>
     <Content>
        <Group>
           <Value type="ValueType"></Value>
        </Group>
     </Content>
</Response>

...

 Attribute 'language'
  http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
  Commonly used:

Code

Language

en

English

fi

Finnish

sv se

Swedish

Value (Repeats 0..n)

This element contains additional information about the request intended for the client to refine.

...

?Appendix- LIST Value types

Examples

Code Block
xml
xml

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 115

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response version="1.0">
     <Status>ERR</Status>
     <StatusCode>4701</StatusCode>
     <FreeText language="en">Error: The invoice datafile fails validation. Reason: </FreeText>
     <Content>
       <Group>
            <Value type="Saldo">180</Value>
            <Value type="CostInCredits">0</Value>
       </Group>
     </Content>
</Response>