THURSDAY, AUGUST 07, 2008




MY ACCOUNT LOGIN

LOGIN NAME:

PASSWORD:

REGISTER TODAY!
FORGOT YOUR PASSWORD?

SOAP METHODS



LOADORDER

PROCESSORDER

PROCESSPAYMENTLSPG

PROCESSPAYMENT
CYBERSOURCE


LOADBASKETS

LOADBASKETSPAGED

LOADRECEIPTS

LOADRECEIPTSPAGED

LOADRECEIPTSBYSHOPPER

LOADRECEIPTSBYSHOPPER
PAGED




Web Services, SOA Solutions, SOA Services - XWebServices.com


HOME

WEB SERVICES

SOA SOLUTIONS

SOA SERVICES

ABOUT US





XWEBCHECKOUT


Documentation


FAQs


Implementation Guides


Forum


Pricing






SEARCH









HOME  ::  WEB SERVICES  ::  XWEBCHECKOUT  ::  DOCUMENTATION

:: Web Services :: XWebCheckOut ::
:: Documentation (Version 1) ::

LoadOrder SOAP Method

DESCRIPTION:

Returns a specific Order.

PARAMETER(S):

strOrderID - String (up to 32 characters to accomodate a GUID). The identifier for the Order record requested.

SOAP HEADERS:

LoginName - String. The "Login Name" you chose during the registration process.
Password - String. Your account's "Password".

NOTE***: SOAP Headers are required for authentication.

RETURNS:

XML String, representing the Order record requested. To view the validating XSD Schema, please click here. An example is provided here or below:

<Order Order_ID="aeda4fb4a2ad4ccbb81f4898072f9b28">
  <Shopper_ID>tester@somesite.com</Shopper_ID>
  <Basket Date_Created="2004-01-18T10:12:00">
    <Contents>Basket contents would go here, please see our 
          Implementation Guides for more details</Contents>
  </Basket>
  <Shipping Date_Created="2004-01-18T10:15:00">
    <First_Name>John</First_Name>
    <Middle_Name></Middle_Name>
    <Last_Name>Tester</Last_Name>
    <Address_1>123 Somewhere St.</Address_1>
    <Address_2></Address_2>
    <City>Los Angeles</City>
    <State>CA</State>
    <Postal_Code>90210</Postal_Code>
    <Country>USA</Country>
    <Phone>800.555.1212</Phone>
    <Fax>888.555.1212</Fax>
    <Email>john.doe@somesite.com</Email>
  </Shipping>
  <Billing Date_Created="2004-01-18T10:15:00">
    <First_Name>Suzan</First_Name>
    <Middle_Name>A.</Middle_Name>
    <Last_Name>Smith</Last_Name>
    <Address_1>456 Somewhere Else St.</Address_1>
    <Address_2>Unit 200</Address_2>
    <City>Los Angeles</City>
    <State>CA</State>
    <Postal_Code>90210</Postal_Code>
    <Country>USA</Country>
    <Phone>888.555.1212</Phone>
    <Fax>888.555.1212</Fax>
    <Email>john.doe@somesite.com</Email>
  </Billing>
  <Credit_Card Date_Created="2004-01-18T10:20:00">
    <Type>1</Type>
    <Type_Description>Visa</Type_Description>
    <Number>4111111111111111</Number>
    <Expiration_Month>10</Expiration_Month>
    <Expiration_Year>2006</Expiration_Year>
    <Verification_Number>487</Verification_Number>
  </Credit_Card>
  <Comments>
    <Comment Comment_Sequence="1" 
      Date_Created="2004-01-18T10:30:00">
      <Subject>Special Color</Subject>
      <Body>Red</Body>
    </Comment>
    <Comment Comment_Sequence="2" 
      Date_Created="2004-01-18T10:35:00">
      <Subject>Shipping</Subject>
      <Body>Please ship as soon as available</Body>
    </Comment>
  </Comments>
</Order>

If the Order record requested was never entered or is no longer in the system, the method will return the <Order> node with only the Order_ID identifier. An example is provided below:

<Order Order_ID="aeda4fb4a2ad4ccbb81f4898072f9b28" />

All non-XML strings returned by this method should be considered errors.

ERROR(S):

If the system encounters an error, the method will return one the following messages instead of the expected XML string:

Error: Unable to authenticate. Your username and/or password are invalid. - authentication errors.
Error: You have not yet registered for this service. - authorization errors.
Error: A database error has occurred. Please try again later. - catastrophic database errors.
Error: System error. Unable to process the request. - catastrophic system errors.

ADDITIONAL SUPPORT RESOURCES:



HOME
WEB SERVICES
SOA SOLUTIONS
SOA SERVICES
MY ACCOUNT
ABOUT US