Transactions


Click here for a complete list of operations.

addOrderFields

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /transactions.asmx HTTP/1.1
Host: myacxiompartners.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/Usadata.ListServices.Web/Transactions/addOrderFields"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <addOrderFields xmlns="http://tempuri.org/Usadata.ListServices.Web/Transactions">
      <ApplicationID>string</ApplicationID>
      <Username>string</Username>
      <Password>string</Password>
      <DetailID>int</DetailID>
      <Field>
        <LWField>
          <Name>string</Name>
          <FriendlyName>string</FriendlyName>
          <Ordinal>int</Ordinal>
          <Direction>Input or Output</Direction>
          <Values>
            <LWFieldValue xsi:nil="true" />
            <LWFieldValue xsi:nil="true" />
          </Values>
          <Cost>decimal</Cost>
          <SecondaryCost>decimal</SecondaryCost>
          <BaseCost>decimal</BaseCost>
          <Comments>string</Comments>
          <Group>string</Group>
        </LWField>
        <LWField>
          <Name>string</Name>
          <FriendlyName>string</FriendlyName>
          <Ordinal>int</Ordinal>
          <Direction>Input or Output</Direction>
          <Values>
            <LWFieldValue xsi:nil="true" />
            <LWFieldValue xsi:nil="true" />
          </Values>
          <Cost>decimal</Cost>
          <SecondaryCost>decimal</SecondaryCost>
          <BaseCost>decimal</BaseCost>
          <Comments>string</Comments>
          <Group>string</Group>
        </LWField>
      </Field>
    </addOrderFields>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <addOrderFieldsResponse xmlns="http://tempuri.org/Usadata.ListServices.Web/Transactions">
      <addOrderFieldsResult>
        <Status>Success or DetailNotFound or InvalidInput or LoginFailure or SystemFailure</Status>
        <Message>string</Message>
      </addOrderFieldsResult>
    </addOrderFieldsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /transactions.asmx HTTP/1.1
Host: myacxiompartners.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <addOrderFields xmlns="http://tempuri.org/Usadata.ListServices.Web/Transactions">
      <ApplicationID>string</ApplicationID>
      <Username>string</Username>
      <Password>string</Password>
      <DetailID>int</DetailID>
      <Field>
        <LWField>
          <Name>string</Name>
          <FriendlyName>string</FriendlyName>
          <Ordinal>int</Ordinal>
          <Direction>Input or Output</Direction>
          <Values>
            <LWFieldValue xsi:nil="true" />
            <LWFieldValue xsi:nil="true" />
          </Values>
          <Cost>decimal</Cost>
          <SecondaryCost>decimal</SecondaryCost>
          <BaseCost>decimal</BaseCost>
          <Comments>string</Comments>
          <Group>string</Group>
        </LWField>
        <LWField>
          <Name>string</Name>
          <FriendlyName>string</FriendlyName>
          <Ordinal>int</Ordinal>
          <Direction>Input or Output</Direction>
          <Values>
            <LWFieldValue xsi:nil="true" />
            <LWFieldValue xsi:nil="true" />
          </Values>
          <Cost>decimal</Cost>
          <SecondaryCost>decimal</SecondaryCost>
          <BaseCost>decimal</BaseCost>
          <Comments>string</Comments>
          <Group>string</Group>
        </LWField>
      </Field>
    </addOrderFields>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <addOrderFieldsResponse xmlns="http://tempuri.org/Usadata.ListServices.Web/Transactions">
      <addOrderFieldsResult>
        <Status>Success or DetailNotFound or InvalidInput or LoginFailure or SystemFailure</Status>
        <Message>string</Message>
      </addOrderFieldsResult>
    </addOrderFieldsResponse>
  </soap12:Body>
</soap12:Envelope>