POST
/
accounting
/
projects
curl --request POST \
  --url https://api.maesn.dev/accounting/projects \
  --header 'Content-Type: application/json' \
  --header 'X-ACCOUNT-KEY: <x-account-key>' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '{
  "code": "code",
  "contactId": "1",
  "currency": "EUR",
  "description": "description",
  "endDate": "2021-01-01T00:00:00Z",
  "name": "name",
  "status": "1",
  "startDate": "2021-01-01T00:00:00Z"
}'
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": {
    "id": "1",
    "code": "code",
    "createdDate": "2021-01-01T00:00:00Z",
    "contactId": "1",
    "currency": "EUR",
    "description": "description",
    "endDate": "2021-01-01T00:00:00Z",
    "name": "name",
    "status": "1",
    "startDate": "2021-01-01T00:00:00Z",
    "updatedDate": "2021-01-01T00:00:00Z"
  }
}

Field support per integration

Headers

X-API-KEY
string
required

API key

Example:

"example value"

X-ACCOUNT-KEY
string
required

Account key

Example:

"example value"

Query Parameters

companyId
string
environmentName
string

Body

application/json

Response

200 - application/json

The response is of type object.