Versions Compared

Key

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

...

Request

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

POST Body structure : FO XML Structure

Expand
titleRequest body sample
Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<FUSIONS>
    <FO>
        <FH>
            <OCustomer>015</OCustomer>
            <OSite>CO</OSite>
            <DocRef>FU_1</DocRef>
            <Date>17/11/2015</Date>
            <OPCode>REDWINEFUSIONFINAL</OPCode>
            <OUnits>900</OUnits>
            <OSubUnits>0</OSubUnits>
            <OLocation>TANK D1</OLocation>
        </FH>
        <FD>
            <DPPCode>REDWINEFUSIONDP</DPPCode>
            <DPUnits>800</DPUnits>
            <DPSubUnits>4</DPSubUnits>
            <ExciseDefer>EXDEF</ExciseDefer>
            <CustomsDefer>CUSDEF</CustomsDefer>
        </FD>
        <SC>
            <SCustomer>015</SCustomer>
            <SSite>CO</SSite>
            <SPCode>BASEREDWINE</SPCode>
            <Rotation>15/D000649</Rotation>
            <RotationLn></RotationLn>
            <SUnits>300</SUnits>
            <SSubUnits>0</SSubUnits>
        </SC>
        <SC>
            <SCustomer>POL</SCustomer>
            <SSite>CO</SSite>
            <SPCode>ETHANOL</SPCode>
            <Rotation>15/0000556</Rotation>
            <RotationLn></RotationLn>
            <SUnits>48</SUnits>
            <SSubUnits>8</SSubUnits>
        </SC>
    </FO> 
</FUSIONS>

...