POST /attributes - http://api.spectrumsurveys.com/buyers/v1/attributes
GET /attributes - http://api.spectrumsurveys.com/buyers/v1/attributes/:buyer_attribute_id
...
Call this API to view the respondent's question text, condition codes, and condition code texts for unfamiliar qualification codes/condition codes. Survey_localization is a required Query String parameter.
...
Response | Status | Description |
---|---|---|
200 | OK | |
400 | Bad Request | See Error Messages |
404 | Not Found | Qualification code doesn't exist in database |
5xx | Internal Server Error | Please Report to support@purespectrum.com |
Error Messages for GET call
Response | Description |
---|---|
1001 | Missing localization parameter. |
1002 | Qualification doesn't exist in localization code. |
1003 | Invalid Localization code. |
9999 | Unknown Error - Please Report to support@purespectrum.com |
Error Messages for POST call
Response | Description |
---|---|
1001 | Invalid buyer attribute id. |
1002 | Resp_ID is missing in the Question text. |
1003Category is Invalid. Please check the documentation | Localization doesn't exist for this question. |
1004 | Type can only take values of 1, 2 or 3. |
1005 | Survey Localization is Invalid. |
1006 | Buyer attribute ID is already used. Please use a new one. Use PUT to edit the attributes. |
1007 | Invalid Survey Localization code. |
1008 | Invalid JSON. Please check your request format. |
1009 | Description is already used. Please use a new one. |
9999 | Unknown Error - Please Report to support@purespectrum.com |
...