Skip to content

Instantly share code, notes, and snippets.

View rozanovz's full-sized avatar

Alexey Rozanov rozanovz

View GitHub Profile
{
"_id": "5612d85f40c1c650630c70d6",
"guid": "b5685054-4d68-4005-926d-5b5940f42b15",
"isActive": false,
"picture": "http://placehold.it/32x32",
"age": 23,
"name": {
"first": "Navarro",
"last": "Foley"
},
{
"data": {
"type":"orders",
"attributes": {
"hosting_package": {
"id": 2, "term": "1y"
}
,
"client_id":1,
"invoicing_data_id":2,
response:{
"errors": [
{
"status": "422",
"code": "invalid-attribute",
"title": "Invalid Attribute",
"detail": "The corporate name field is required.",
"source": {
"pointer": "/data/attributes/corporate_name"
}
in Model.php line 424
at Model->fill(array('webhosting' => array('package' => null, 'term' => null, 'initl_price' => null, 'ren_price' => '6', 'primary_domain_name' => 'sadasda', 'init_price' => '5'), 'domains' => array(array('name' => 'asdasd', 'tld' => array('id' => '2', 'name' => 'academy'), 'reg_type' => array('name' => 'Registration', 'value' => 'registration'), 'term' => array('name' => '1 year', 'value' => '1'), 'init_price' => '5', 'ren_price' => '5')), 'manual_subscriptions' => array(array('description' => 'dasda', 'term' => array('name' => '3 month', 'value' => '3'), 'init_price' => null, 'ren_price' => '4', 'start_date' => '2016-06-06T21:00:00.000Z', 'init' => array('price' => '5'))), 'area_code' => '1234', 'payment_id' => '3', 'box' => '3', 'building' => '3248', 'city' => 'Hellerport', 'client_id' => '1', 'coc_number' => '2', 'contact_email' => 'bMcDermott@Frami.info', 'contact_name' => 'Savanna Fritsch MD', 'corporate_name' => 'Mr. General Strosin Jr.', 'country' => 'ID', 'country_name' => 'Indon