POST ePMS/InsertDataMobile

Request Information

URI Parameters

None.

Body Parameters

InsertDataMobile
NameDescriptionTypeAdditional information
username

string

None.

T_FFB_Yield_det

Collection of eBree_t_ffb_yield_det_list

None.

T_veg_meas_det

Collection of eBree_t_veg_meas_det_ws

None.

block_status

Collection of eBree_getbase_list_palm4_mobile

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "T_FFB_Yield_det": [
    {
      "date_ffb_yield": "sample string 1",
      "palm_code": "sample string 2",
      "block_code": "sample string 3",
      "num_of_fre_bunch": 4,
      "weight_of_fre_bunch": 5.0,
      "num_of_rot_bunch": 6,
      "weight_of_rot_bunch": 7.0,
      "round_interval": 8,
      "supervision": "sample string 9",
      "record_officer": "sample string 10",
      "create_date": "sample string 11",
      "create_by": "sample string 12",
      "send_to_lab": 13,
      "no_of_lf": 14
    },
    {
      "date_ffb_yield": "sample string 1",
      "palm_code": "sample string 2",
      "block_code": "sample string 3",
      "num_of_fre_bunch": 4,
      "weight_of_fre_bunch": 5.0,
      "num_of_rot_bunch": 6,
      "weight_of_rot_bunch": 7.0,
      "round_interval": 8,
      "supervision": "sample string 9",
      "record_officer": "sample string 10",
      "create_date": "sample string 11",
      "create_by": "sample string 12",
      "send_to_lab": 13,
      "no_of_lf": 14
    }
  ],
  "T_veg_meas_det": [
    {
      "date_veg_meas": "sample string 1",
      "palm_code": "sample string 2",
      "block_code": "sample string 3",
      "leaf_sam_no": 4,
      "palm_height": 5.0,
      "petiole_width": 6.0,
      "petiole_thickness": 7.0,
      "pet_cross_sec": 8.0,
      "leaflets_sam1_width": 9.0,
      "leaflets_sam1_length": 10.0,
      "leaflets_sam2_width": 11.0,
      "leaflets_sam2_length": 12.0,
      "leaflets_sam3_width": 13.0,
      "leaflets_sam3_length": 14.0,
      "leaflets_sam4_width": 15.0,
      "leaflets_sam4_length": 16.0,
      "leaflets_sam5_width": 17.0,
      "leaflets_sam5_length": 18.0,
      "leaflets_sam6_width": 19.0,
      "leaflets_sam6_length": 20.0,
      "num_of_leaflets": 21.0,
      "palms_frond_length": 22.0,
      "palms_frond_prod": 23.0,
      "leaf_area": 24.0,
      "palm_trunk_circum": 25.0,
      "supervision": "sample string 26",
      "record_officer": "sample string 27",
      "create_date": "sample string 28",
      "create_by": "sample string 29",
      "remarks": "sample string 30"
    },
    {
      "date_veg_meas": "sample string 1",
      "palm_code": "sample string 2",
      "block_code": "sample string 3",
      "leaf_sam_no": 4,
      "palm_height": 5.0,
      "petiole_width": 6.0,
      "petiole_thickness": 7.0,
      "pet_cross_sec": 8.0,
      "leaflets_sam1_width": 9.0,
      "leaflets_sam1_length": 10.0,
      "leaflets_sam2_width": 11.0,
      "leaflets_sam2_length": 12.0,
      "leaflets_sam3_width": 13.0,
      "leaflets_sam3_length": 14.0,
      "leaflets_sam4_width": 15.0,
      "leaflets_sam4_length": 16.0,
      "leaflets_sam5_width": 17.0,
      "leaflets_sam5_length": 18.0,
      "leaflets_sam6_width": 19.0,
      "leaflets_sam6_length": 20.0,
      "num_of_leaflets": 21.0,
      "palms_frond_length": 22.0,
      "palms_frond_prod": 23.0,
      "leaf_area": 24.0,
      "palm_trunk_circum": 25.0,
      "supervision": "sample string 26",
      "record_officer": "sample string 27",
      "create_date": "sample string 28",
      "create_by": "sample string 29",
      "remarks": "sample string 30"
    }
  ],
  "block_status": [
    {
      "block_no": "sample string 1",
      "trial_area": "sample string 2",
      "update_status": "sample string 3"
    },
    {
      "block_no": "sample string 1",
      "trial_area": "sample string 2",
      "update_status": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<InsertDataMobile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIfromEPMS.Controllers">
  <T_FFB_Yield_det>
    <eBree_t_ffb_yield_det_list>
      <block_code>sample string 3</block_code>
      <create_by>sample string 12</create_by>
      <create_date>sample string 11</create_date>
      <date_ffb_yield>sample string 1</date_ffb_yield>
      <no_of_lf>14</no_of_lf>
      <num_of_fre_bunch>4</num_of_fre_bunch>
      <num_of_rot_bunch>6</num_of_rot_bunch>
      <palm_code>sample string 2</palm_code>
      <record_officer>sample string 10</record_officer>
      <round_interval>8</round_interval>
      <send_to_lab>13</send_to_lab>
      <supervision>sample string 9</supervision>
      <weight_of_fre_bunch>5</weight_of_fre_bunch>
      <weight_of_rot_bunch>7</weight_of_rot_bunch>
    </eBree_t_ffb_yield_det_list>
    <eBree_t_ffb_yield_det_list>
      <block_code>sample string 3</block_code>
      <create_by>sample string 12</create_by>
      <create_date>sample string 11</create_date>
      <date_ffb_yield>sample string 1</date_ffb_yield>
      <no_of_lf>14</no_of_lf>
      <num_of_fre_bunch>4</num_of_fre_bunch>
      <num_of_rot_bunch>6</num_of_rot_bunch>
      <palm_code>sample string 2</palm_code>
      <record_officer>sample string 10</record_officer>
      <round_interval>8</round_interval>
      <send_to_lab>13</send_to_lab>
      <supervision>sample string 9</supervision>
      <weight_of_fre_bunch>5</weight_of_fre_bunch>
      <weight_of_rot_bunch>7</weight_of_rot_bunch>
    </eBree_t_ffb_yield_det_list>
  </T_FFB_Yield_det>
  <T_veg_meas_det>
    <eBree_t_veg_meas_det_ws>
      <block_code>sample string 3</block_code>
      <create_by>sample string 29</create_by>
      <create_date>sample string 28</create_date>
      <date_veg_meas>sample string 1</date_veg_meas>
      <leaf_area>24</leaf_area>
      <leaf_sam_no>4</leaf_sam_no>
      <leaflets_sam1_length>10</leaflets_sam1_length>
      <leaflets_sam1_width>9</leaflets_sam1_width>
      <leaflets_sam2_length>12</leaflets_sam2_length>
      <leaflets_sam2_width>11</leaflets_sam2_width>
      <leaflets_sam3_length>14</leaflets_sam3_length>
      <leaflets_sam3_width>13</leaflets_sam3_width>
      <leaflets_sam4_length>16</leaflets_sam4_length>
      <leaflets_sam4_width>15</leaflets_sam4_width>
      <leaflets_sam5_length>18</leaflets_sam5_length>
      <leaflets_sam5_width>17</leaflets_sam5_width>
      <leaflets_sam6_length>20</leaflets_sam6_length>
      <leaflets_sam6_width>19</leaflets_sam6_width>
      <num_of_leaflets>21</num_of_leaflets>
      <palm_code>sample string 2</palm_code>
      <palm_height>5</palm_height>
      <palm_trunk_circum>25</palm_trunk_circum>
      <palms_frond_length>22</palms_frond_length>
      <palms_frond_prod>23</palms_frond_prod>
      <pet_cross_sec>8</pet_cross_sec>
      <petiole_thickness>7</petiole_thickness>
      <petiole_width>6</petiole_width>
      <record_officer>sample string 27</record_officer>
      <remarks>sample string 30</remarks>
      <supervision>sample string 26</supervision>
    </eBree_t_veg_meas_det_ws>
    <eBree_t_veg_meas_det_ws>
      <block_code>sample string 3</block_code>
      <create_by>sample string 29</create_by>
      <create_date>sample string 28</create_date>
      <date_veg_meas>sample string 1</date_veg_meas>
      <leaf_area>24</leaf_area>
      <leaf_sam_no>4</leaf_sam_no>
      <leaflets_sam1_length>10</leaflets_sam1_length>
      <leaflets_sam1_width>9</leaflets_sam1_width>
      <leaflets_sam2_length>12</leaflets_sam2_length>
      <leaflets_sam2_width>11</leaflets_sam2_width>
      <leaflets_sam3_length>14</leaflets_sam3_length>
      <leaflets_sam3_width>13</leaflets_sam3_width>
      <leaflets_sam4_length>16</leaflets_sam4_length>
      <leaflets_sam4_width>15</leaflets_sam4_width>
      <leaflets_sam5_length>18</leaflets_sam5_length>
      <leaflets_sam5_width>17</leaflets_sam5_width>
      <leaflets_sam6_length>20</leaflets_sam6_length>
      <leaflets_sam6_width>19</leaflets_sam6_width>
      <num_of_leaflets>21</num_of_leaflets>
      <palm_code>sample string 2</palm_code>
      <palm_height>5</palm_height>
      <palm_trunk_circum>25</palm_trunk_circum>
      <palms_frond_length>22</palms_frond_length>
      <palms_frond_prod>23</palms_frond_prod>
      <pet_cross_sec>8</pet_cross_sec>
      <petiole_thickness>7</petiole_thickness>
      <petiole_width>6</petiole_width>
      <record_officer>sample string 27</record_officer>
      <remarks>sample string 30</remarks>
      <supervision>sample string 26</supervision>
    </eBree_t_veg_meas_det_ws>
  </T_veg_meas_det>
  <block_status>
    <eBree_getbase_list_palm4_mobile>
      <block_no>sample string 1</block_no>
      <trial_area>sample string 2</trial_area>
      <update_status>sample string 3</update_status>
    </eBree_getbase_list_palm4_mobile>
    <eBree_getbase_list_palm4_mobile>
      <block_no>sample string 1</block_no>
      <trial_area>sample string 2</trial_area>
      <update_status>sample string 3</update_status>
    </eBree_getbase_list_palm4_mobile>
  </block_status>
  <username>sample string 1</username>
</InsertDataMobile>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InsertDataMobile'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.