Smart API V2 Changes


Main change

Now we show the unique list of objects (projects, tenders etc) of the company.
All the user related information is located in users property (list of objects)

 

Client Projects

Endpoint: GET /client/projects

fields:

FieldChangesDescription
user_idREMOVEDSee user_ids field
user_project_status_idREMOVEDmoved to users
delivered_atREMOVEDmoved to users
modified_atREMOVEDmoved to users
client_statusesREMOVEDsee users
user_idsADDEDThe list of users (ids) that have the object in their workspace
usersADDEDThe list of users (objects) that have the object in their workspace. See the response schema of the method
responsible_idsADDEDThe list of users (ids) that which were assigned as responsible for the project
responsibleADDEDThe list of users (objects) that which were assigned as responsible for the project. See the response schema of the method

filter:

FilterChangesDescription
user_id:{in}:int[]CHANGEDchanged to users.user_id:{in}:int[]
user_project_status_id:{in}:int[]CHANGEDchanged to users.user_project_status_id:{in}:int[]
delivered_at:{gte,lte}:{date,datetime}CHANGEDchanged to users.delivered_at:{gte,lte}:{date,datetime}
modified_at:{gte,lte}:{date,datetime}CHANGEDchanged to users.modified_at:{gte,lte}:{date,datetime}
responsible.responsible_id:{in}:int[]ADDED
responsible.assigner_id:{in}:int[]ADDED

sort:

SortChangesDescription
delivered_at:{a|d}CHANGEDchanged to users.delivered_at:{a|d}
modified_at:{a|d}CHANGEDchanged to users.modified_at:{a|d}

 

Client Tenders

Endpoint: GET /client/tenders

fields:

FieldChangesDescription
user_idREMOVEDSee user_ids field
user_tender_status_idREMOVEDmoved to users
delivered_atREMOVEDmoved to users
modified_atREMOVEDmoved to users
client_statusesREMOVEDsee users
user_idsADDEDThe list of users (ids) that have the object in their workspace
usersADDEDThe list of users (objects) that have the object in their workspace. See the response schema of the method
responsible_idsADDEDThe list of users (ids) that which were assigned as responsible for the tender
responsibleADDEDThe list of users (objects) that which were assigned as responsible for the tender. See the response schema of the method

filter:

FilterChangesDescription
user_id:{in}:int[]CHANGEDchanged to users.user_id:{in}:int[]
user_tender_status_id:{in}:int[]CHANGEDchanged to users.user_tender_status_id:{in}:int[]
delivered_at:{gte,lte}:{date,datetime}CHANGEDchanged to users.delivered_at:{gte,lte}:{date,datetime}
modified_at:{gte,lte}:{date,datetime}CHANGEDchanged to users.modified_at:{gte,lte}:{date,datetime}
responsible.responsible_id:{in}:int[]ADDED
responsible.assigner_id:{in}:int[]ADDED

sort:

SortChangesDescription
delivered_at:{a|d}CHANGEDchanged to users.delivered_at:{a|d}
modified_at:{a|d}CHANGEDchanged to users.modified_at:{a|d}

 

Client Companies

Endpoint: GET /client/companies

fields:

FieldChangesDescription
user_idREMOVEDSee user_ids field
client_company_folder_idREMOVEDmoved to users
delivered_atREMOVEDmoved to users
modified_atREMOVEDmoved to users
user_idsADDEDThe list of users (ids) that have the object in their workspace
usersADDEDThe list of users (objects) that have the object in their workspace. See the response schema of the method

filter:

FilterChangesDescription
user_id:{in}:int[]CHANGEDchanged to users.user_id:{in}:int[]
client_company_folder_id:{in}:int[]CHANGEDchanged to users.client_company_folder_id:{in}:int[]
delivered_at:{gte,lte}:{date,datetime}CHANGEDchanged to users.delivered_at:{gte,lte}:{date,datetime}
modified_at:{gte,lte}:{date,datetime}CHANGEDchanged to users.modified_at:{gte,lte}:{date,datetime}

sort:

SortChangesDescription
delivered_at:{a|d}CHANGEDchanged to users.delivered_at:{a|d}
modified_at:{a|d}CHANGEDchanged to users.modified_at:{a|d}

 

Client Contacts

Endpoint: GET /client/contacts

fields:

FieldChangesDescription
user_idREMOVEDSee user_ids field
modified_atREMOVEDmoved to users
user_idsADDEDThe list of users (ids) that have the object in their workspace
usersADDEDThe list of users (objects) that have the object in their workspace. See the response schema of the method

filter:

FilterChangesDescription
user_id:{in}:int[]CHANGEDchanged to users.user_id:{in}:int[]
modified_at:{gte,lte}:{date,datetime}CHANGEDchanged to users.modified_at:{gte,lte}:{date,datetime}

sort:

SortChangesDescription
modified_at:{a|d}CHANGEDchanged to users.modified_at:{a|d}