» Lists » Personal Fields » Post

POST lists/{list_id}/personal_fields

Create Personal Fields with relation to the list

Resource

Method POST
URL http://api.responder.co.il/v1.0/lists/{list_id}/personal_fields

Parameters

personal_fields
required

Array of JSON object of Personal Field

Example Value:
[
   {
      "NAME" : "City",
      "DEFAULT_VALUE" : "Tel Aviv",
      "DIR" : "rtl",
      "TYPE" : 0,
   },
   {
      "NAME" : "Date of birth",
      "TYPE" : 1
   }
]

Example

POST http://api.responder.co.il/v1.0/lists/123456/personal_fields
{
   "LIST_ID" : 123456,
   "CREATED_PERSONAL_FIELDS" : [
      {4567 : "City"}
   ],
   "EXISTING_PERSONAL_FIELD_NAMES" : [
      {123 : "Date of birth"}
   ],
}