This service allows to retrieve the list of recently updated Projects.

The scope of the projects being checked can be specified with the scope param:

  • The value company will look for Projects created by the token’s owner company. This option is only authorized for Company admins/product_owner.

  • The value user (default) will look for Projects where the the token’s owner is a partner/owner.

The default time delta in days is 3 days but can be customized to any integer value up to 100 days.

See the example below to see the available data.

Examples

{
  "resource": {
    "type": "projects",
    "action": "recent"
  },
  "projects": [
    {
      "id": 1827,
      "source_id": null,
      "name": "Example New Project",
      "company_id": 47,
      "created_at": "2014-05-14T01:18:12.000Z",
      "updated_at": "2014-05-14T01:18:12.000Z",
      "reference": null,
      "archived": false,
      "season": null,
      "warehouse": null,
      "warehouse_code": null,
      "departure_place": null,
      "country_of_origin": null,
      "arrival_place": null,
      "transportation_mode": null,
      "payment_conditions": null,
      "factory": null,
      "incoterm": null,
      "project_type": "order",
      "laboratory": null,
      "final_customer": {},
      "supplier": {},
      "buyer": {
        "id": 62,
        "first_name": "Guillaume",
        "last_name": "Grenet",
        "full_name": "Guillaume Grenet",
        "initials": "GG",
        "email": "guillaume.grenet@winddle.com",
        "company": {
          "id": 47,
          "name": "Winddle",
          "px40": "/assets/fallback/default-company-px40.png"
        },
        "px40": null,
        "px75": null,
        "px150": null,
        "nc1000": null,
        "default_currency": "EUR",
        "position": {}
      },
      "customs": []
    }
  ]
}

Params

Param name Description
delta_days
optional

List updated projects in past X delta days (default to 3)

Must be a Integer
delta_hours
optional

Overwrite delta_days, allow to set the delta in hours (default to 72)

Must be a Integer
since
optional

Timestamp for filtering updated projects (RFC2616, RFC2822, ISO8601)

Must be a String
filter
optional

Filters to apply on the list of Projects to return

Param for filters
scope
optional

Scope of the projects to check (default to user)

Must be one of: user, company.