---
title: "API Response XML Package"
slug: "api-response-xml-package"
updated: 2022-08-15T15:58:59Z
published: 2022-08-15T15:59:00Z
canonical: "support.smarteru.com/api-response-xml-package"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.smarteru.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Response XML Package

After an [API call](/v1/docs/api-call-xml-package) has been completed, a response will be sent back in the same format regardless of the method being called. Below is an example of this response.

```markup
<SmarterU>
   <Result></Result>
   <Info></Info>
   <Errors>
      <Error>
         <ErrorID></ErrorID>
         <ErrorMessage></ErrorMessage>
       </Error>
   </Errors>
</SmarterU>
```

## **Result**

The Result tag indicates whether the API method call was successful and returns one of the following:

- *Success* - All operations successfully completed.
- *Failed* - All operations failed, or a processing error occurred.

## **Info**

The Info tag contains information about the method being completed. The contents of this tag is specific to each API method.

## **Errors**

The Errors tag contains information for [errors](/v1/docs/api-error-codes) that occurred during the API call. The tag contains the following.

| Tag | Description |
| --- | --- |
| **ErrorID** | The error code. |
| **ErrorMessage** | The error's description. |

Below are the general error codes when sending a package to the SmarterU API.

| Error Code | Message |
| --- | --- |
| SU:01 | No POST data detected. |
| SU:02 | Package parameter not found. |
| SU:03 | Package data is not properly formatted XML. |
| SU:04 | SmarterU root tag not found in Package data. |
| SU:05 | AccountAPI tag not found in Package data. |
| SU:06 | UserAPI tag not found in Package data. |
| SU:07 | Method tag not found in Package data. |
| SU:08 | Parameters tag not found in Package data. |
| SU:09 | Parameters tag contains no information. |
| SU:10 | User and Account API keys are invalid. |
| SU:11 | Requested method does not exist. |
| SU:12 | Incorrect/Missing Structure/Parameters. |
| SU:13 | Element %TAG_Name% was found where it should not exist. |
| SU:9999 | Unknown method call failure. |

## Related

- [API Call XML Package](/api-call-xml-package.md)
- [API Error Codes](/api-error-codes.md)
- [API Methods](/api-methods.md)
