10.07.2015 Views

Web Service Guide - RedCarpet - Login - SilkRoad Technology

Web Service Guide - RedCarpet - Login - SilkRoad Technology

Web Service Guide - RedCarpet - Login - SilkRoad Technology

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>RedCarpet</strong>GetCompletedFormsList ReturnsEach method returns an XML document of the following structure: ErrorString and Error NumThe value of ErrorNum should be checked for a the value not equal to 1 todetermine an error description vs. a success message.ErrorNum indicates success or failure. Values are:1 (one) — method succeeded0 (zero) — method failedIf the ErrorNum returns a 1 the ErrorString is equal to “No Errors”.If the ErrorNum returns a value not equal to 1 the ErrorString is equal to “Therewere errors” or an error message. Errors are described in the Data string.DataAn XML record describing either the successful task data or a detail of thereason for failure.The Data record xml is returned as CDATA tag.If one or more parameters are in error, the ErrorNum returns a value not equalto 1. The XML in the Data string will describe the errors. The error text in thedata string and error codes are described in the “Method Returns” section ofeach method description.FormID is in a column called “ObjectId” Note: See also -Sample CodeExample at theend of thisdocument.Code examplesTo return all existing forms:Eprise.EpsTableEx t = service.GetFormsIDs(sessionnum,"","","","","","","")To return all forms for the user “Jim.Smith”:Eprise.EpsTableEx t = service.GetFormsIDs(sessionnum,"","","Jim.Smith","","","","")User Import and Edit 93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!