Creates a pick list in vWork. The response includes the pick list’s unique id assigned to it by vWork. This ID needs to be included when adding a pick list custom field to a job.
Security
apiKey
POST
curl -i -X POST \
'https://api.vworkapp.com/v5/pick_lists.xml?api_key=string&api_key=YOUR_API_KEY_HERE' \
-H 'Accept-Encoding: gzip' \
-H 'Content-Type: application/xml; charset=utf-8' \
-d '<?xml version="1.0" encoding="utf-8"?>
<pick_list>
<name>Package Status</name>
<pick_list_items type="array">
<pick_list_item>
<value>Delivered</value>
</pick_list_item>
<pick_list_item>
<value>Not delivered</value>
</pick_list_item>
</pick_list_items>
</pick_list>'Response
<?xml version="1.0" encoding="utf-8"?>
<pick_list>
<id>1234</id>
<name>Package Status</name>
<created_at>2012-10-15T20:53:38+00:00</created_at>
<updated_at>2012-10-15T20:53:38+00:00</updated_at>
<pick_list_items type="array">
<pick_list_item>
<id>2345</id>
<value>Delivered</value>
<created_at>2012-10-15T20:53:38+00:00</created_at>
<updated_at>2012-10-15T20:53:38+00:00</updated_at>
</pick_list_item>
<pick_list_item>
<id>2346</id>
<value>Not delivered</value>
<created_at>2012-10-15T20:53:38+00:00</created_at>
<updated_at>2012-10-15T20:53:38+00:00</updated_at>
</pick_list_item>
</pick_list_items>
</pick_list>