> For the complete documentation index, see [llms.txt](https://knowledge.out-smart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge.out-smart.com/openapi/advanced-filters/projects-projects-token-software_token.md).

# projects \[/projects/{?token,software\_token}]

This api is used to sync external projects with WorkorderApp.

Each project record can contain the following data:

| Parameter               | Required | Type (size)      |
| ----------------------- | -------- | ---------------- |
| code                    | Y        | Varchar (255)    |
| code\_ext               | N        | Varchar (255)    |
| debtor\_number          | Y        | Varchar (255)    |
| adr\_code               | N        | Varchar (255)    |
| cpn\_code               | N        | Varchar (255)    |
| debtor\_number\_invoice | N        | Varchar (255)    |
| status                  | Y        | Varchar (255)    |
| name                    | Y        | Varchar (255)    |
| description             | N        | Text             |
| progress                | N        | Integer          |
| date\_start             | Y        | Varchar (255)    |
| date\_end               | N        | Varchar (255)    |
| active                  | N        | Integer (1 or 0) |

* Parameters
  * token (string,required ,`0f24d1e07c8609c0fb111fbcc168f9aaa`) ... WorkorderApp customer token
  * software\_token (string,required , `c316c4532fa7cccdcd572491d9552f80945a51366`) ... WorkorderApp external software token

#### Add projects \[POST]

* Request Correct projects data posted. `response` will contain the amount of projects synced with WorkOrderApp (application/json)
  * \[{"code":"N001","code\_ext":"","debtor\_number":"3","adr\_code": "5","cpn\_code": "","debtor\_number\_invoice": null,"status":"Nieuw","name":"Project op nacalculatiebasis","description":"Dit project zal op nacalculatiebasis worden gefactureerd. Tarief voor dit project is 100 eur per uur. Inkopen worden met een opslag van 10% doorgefactureerd.","progress":"0","date\_start":"2013-10-01","date\_end":null,"active":"1"},{"code":"P002","code\_ext":"","debtor\_number":"3","adr\_code": "5","cpn\_code": "","debtor\_number\_invoice": null,"status":"Nieuw","name":"Opdracht met voorschot","description":"Project is begroot op 100 uren en wordt tegen vaste prijs van 10.000 eur gefactureerd. 50% zal vooruit worden gefactureerd.","progress":"0","date\_start":"2013-10-01","date\_end":null,"active":"1"}]
* Response 200 (application/json)
  * { "code": 200, "messages": \[], "response": 2 }
* Request Required value missing. (application/json)
  * \[{"code":"N001","code\_ext":"","debtor\_number":"3","adr\_code": "5","cpn\_code": "","debtor\_number\_invoice": null,"status":"","name":"Project op nacalculatiebasis","description":"Dit project zal op nacalculatiebasis worden gefactureerd. Tarief voor dit project is 100 eur per uur. Inkopen worden met een opslag van 10% doorgefactureerd.","progress":"0","date\_start":"2013-10-01","date\_end":null,"active":"1"},{"code":"P002","code\_ext":"","debtor\_number":"3","adr\_code": "5","cpn\_code": "","debtor\_number\_invoice": null,"status":"Nieuw","name":"Opdracht met voorschot","description":"Project is begroot op 100 uren en wordt tegen vaste prijs van 10.000 eur gefactureerd. 50% zal vooruit worden gefactureerd.","progress":"0","date\_start":"2013-10-01","date\_end":null,"active":"1"}]
* Response 200 (application/json)
  * { "code": 1701, "messages": \[ "Required field missing: status" ], "response": null }
* Request Unparsable JSON body posted (application/json)
  * \[{"code"":"N001","code\_ext":"","debtor\_number":"3","adr\_code": "5","cpn\_code": "","debtor\_number\_invoice": null,"status":"Nieuw","name":"Project op nacalculatiebasis","description":"Dit project zal op nacalculatiebasis worden gefactureerd. Tarief voor dit project is 100 eur per uur. Inkopen worden met een opslag van 10% doorgefactureerd.","progress":"0","date\_start":"2013-10-01","date\_end":null,"active":"1"},{"code":"P002","code\_ext":"","debtor\_number":"3","adr\_code": "5","cpn\_code": "","debtor\_number\_invoice": null,"status":"Nieuw","name":"Opdracht met voorschot","description":"Project is begroot op 100 uren en wordt tegen vaste prijs van 10.000 eur gefactureerd. 50% zal vooruit worden gefactureerd.","progress":"0","date\_start":"2013-10-01","date\_end":null,"active":"1"}]
* Response 200 (application/json)
  * { "code": 1009, "messages": \[ "Unable to parse body" ], "response": null }
* Request Empty body posted (application/json)
  * Body
* Response 200 (application/json)
  * { "code": 1008, "messages": \[ "Unable to fetch body" ], "response": null }

#### Get projects \[GET]

* Response 200 (application/json)
  * { "code": 200, "messages": \[], "response": \[{"code":"N001","code\_ext":"","debtor\_number":"3","adr\_code": "5","cpn\_code": "","debtor\_number\_invoice": null,"status":"Nieuw","name":"Project op nacalculatiebasis","description":"Dit project zal op nacalculatiebasis worden gefactureerd. Tarief voor dit project is 100 eur per uur. Inkopen worden met een opslag van 10% doorgefactureerd.","progress":"0","date\_start":"2013-10-01","date\_end":null,"active":"1"},{"code":"P002","code\_ext":"","debtor\_number":"3","adr\_code": "5","cpn\_code": "","debtor\_number\_invoice": null,"status":"Nieuw","name":"Opdracht met voorschot","description":"Project is begroot op 100 uren en wordt tegen vaste prijs van 10.000 eur gefactureerd. 50% zal vooruit worden gefactureerd.","progress":"0","date\_start":"2013-10-01","date\_end":null,"active":"1"}] }


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://knowledge.out-smart.com/openapi/advanced-filters/projects-projects-token-software_token.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
