Advertisement
Guest User

json response

a guest
May 19th, 2017
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.28 KB | None | 0 0
  1. [
  2.   {
  3.     "section_detail_id": 2,
  4.     "section": {
  5.       "section_id": 19,
  6.       "name": "Section 1",
  7.       "sort": 0,
  8.       "is_active": true,
  9.       "type": 9,
  10.       "fields": [
  11.         {
  12.           "field_id": 34,
  13.           "name": "Field 1",
  14.           "sort": 0,
  15.           "is_active": true
  16.         },
  17.         {
  18.           "field_id": 35,
  19.           "name": "Field 2",
  20.           "sort": 0,
  21.           "is_active": true
  22.         },
  23.         {
  24.           "field_id": 45,
  25.           "name": "New Field",
  26.           "sort": 0,
  27.           "is_active": true
  28.         }
  29.       ]
  30.     },
  31.     "fields": [
  32.       {
  33.         "field_detail_id": 2,
  34.         "field_condition": "pass",
  35.         "comments": "qwer",
  36.         "parts": 50,
  37.         "labour": 100,
  38.         "field": {
  39.           "field_id": 34,
  40.           "name": "Field 1",
  41.           "sort": 0,
  42.           "is_active": true,
  43.           "section": 19
  44.         }
  45.       },
  46.       {
  47.         "field_detail_id": 3,
  48.         "field_condition": "fail",
  49.         "comments": "asdf",
  50.         "parts": 21,
  51.         "labour": 60,
  52.         "field": {
  53.           "field_id": 35,
  54.           "name": "Field 2",
  55.           "sort": 0,
  56.           "is_active": true,
  57.           "section": 19
  58.         }
  59.       }
  60.     ]
  61.   },
  62.   {
  63.     "section_detail_id": 3,
  64.     "section": {
  65.       "section_id": 20,
  66.       "name": "Section 2",
  67.       "sort": 0,
  68.       "is_active": true,
  69.       "type": 9,
  70.       "fields": [
  71.         {
  72.           "field_id": 36,
  73.           "name": "Field 3",
  74.           "sort": 0,
  75.           "is_active": true
  76.         },
  77.         {
  78.           "field_id": 37,
  79.           "name": "Field 4",
  80.           "sort": 0,
  81.           "is_active": true
  82.         }
  83.       ]
  84.     },
  85.     "fields": [
  86.       {
  87.         "field_detail_id": 4,
  88.         "field_condition": "n/a",
  89.         "comments": "xzvc",
  90.         "field": {
  91.           "field_id": 36,
  92.           "name": "Field 3",
  93.           "sort": 0,
  94.           "is_active": true,
  95.           "section": 20
  96.         }
  97.       },
  98.       {
  99.         "field_detail_id": 5,
  100.         "field_condition": "caution",
  101.         "comments": "hjkl",
  102.         "field": {
  103.           "field_id": 37,
  104.           "name": "Field 4",
  105.           "sort": 0,
  106.           "is_active": true,
  107.           "section": 20
  108.         }
  109.       }
  110.     ]
  111.   }
  112. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement