Created
July 5, 2016 12:53
-
-
Save dirigeant/509acacbd03bffbec117d1e48551b08f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd | |
I send my request to ARBGetSubscriptionListRequest. According to XSD, searchType is required, paging and sorting are optional parameters. | |
This is the xml I send. | |
<ARBGetSubscriptionListRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> | |
<merchantAuthentication> | |
<name>xx</name> | |
<transactionKey>xx</transactionKey> | |
</merchantAuthentication> | |
<paging> | |
<limit>10</limit> | |
</paging> | |
<searchType>subscriptionActive</searchType> | |
</ARBGetSubscriptionListRequest> | |
But API returns "List of possible elements expected: 'refId, searchType' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'." error. If I don't add paging field, it works. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment