Created
March 4, 2016 09:35
-
-
Save rozanovz/c218203fddaa8f57791d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| response:{ | |
| "errors": [ | |
| { | |
| "status": "422", | |
| "code": "invalid-attribute", | |
| "title": "Invalid Attribute", | |
| "detail": "The corporate name field is required.", | |
| "source": { | |
| "pointer": "/data/attributes/corporate_name" | |
| } | |
| }, | |
| { | |
| "status": "422", | |
| "code": "invalid-attribute", | |
| "title": "Invalid Attribute", | |
| "detail": "The contact name field is required.", | |
| "source": { | |
| "pointer": "/data/attributes/contact_name" | |
| } | |
| }, | |
| { | |
| "status": "422", | |
| "code": "invalid-attribute", | |
| "title": "Invalid Attribute", | |
| "detail": "The vat number field is required.", | |
| "source": { | |
| "pointer": "/data/attributes/vat_number" | |
| } | |
| }, | |
| { | |
| "status": "422", | |
| "code": "invalid-attribute", | |
| "title": "Invalid Attribute", | |
| "detail": "The coc number field is required.", | |
| "source": { | |
| "pointer": "/data/attributes/coc_number" | |
| } | |
| }, | |
| { | |
| "status": "422", | |
| "code": "invalid-attribute", | |
| "title": "Invalid Attribute", | |
| "detail": "The country field is required.", | |
| "source": { | |
| "pointer": "/data/attributes/country" | |
| } | |
| }, | |
| { | |
| "status": "422", | |
| "code": "invalid-attribute", | |
| "title": "Invalid Attribute", | |
| "detail": "The city field is required.", | |
| "source": { | |
| "pointer": "/data/attributes/city" | |
| } | |
| }, | |
| { | |
| "status": "422", | |
| "code": "invalid-attribute", | |
| "title": "Invalid Attribute", | |
| "detail": "The area code field is required.", | |
| "source": { | |
| "pointer": "/data/attributes/area_code" | |
| } | |
| }, | |
| { | |
| "status": "422", | |
| "code": "invalid-attribute", | |
| "title": "Invalid Attribute", | |
| "detail": "The building field is required.", | |
| "source": { | |
| "pointer": "/data/attributes/building" | |
| } | |
| }, | |
| { | |
| "status": "422", | |
| "code": "invalid-attribute", | |
| "title": "Invalid Attribute", | |
| "detail": "The street field is required.", | |
| "source": { | |
| "pointer": "/data/attributes/street" | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment