Versions Compared

Key

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

...

Request

Request URL POST : https://<pathtoapi>/service/PreAdvice

POST Body structure : PA XML Structure

...

Code Block
languagexml
<PREADVICES>
    <PA>
        <HD>
            <CustomerPONumber>API_TEST1</CustomerPONumber>
            <CustomerCode>JOE</CustomerCode>
        </HD>
        <RES>
            <Code>200</Code>
            <Message>ProductCode<Message>Preadvice processed</Message>
        </RES>
    </PA>
    <PA>
         <HD>
            <CustomerPONumber>API_TEST2</CustomerPONumber>
            <CustomerCode>JOE</CustomerCode>
        </HD>
        <RES>
            <Code>400</Code>
            <Message>Validation failure occurred on line: 1 Product Code is mandatory</Message>
        </RES>
    </PA>
</PREADVICES>

...