Saltar al contingut principal
POST
Creates a project for the authenticated service provider.

Autoritzacions

X-API-Key
string
header
requerit

Your Gorelo API key. See Generate API key. If your data is hosted in Australia, click the base URL at the top of this page and select https://api.aue.gorelo.io.

Cos

Project details.

Request body for creating a project. The owning service provider is resolved from the request context, not from the body.

Title
string
requerit

Project title. Required.

Minimum string length: 1
Exemple:

"Office 365 migration"

ClientId
integer<int64>
requerit

Identifier of the client the project belongs to. Required.

LocationId
integer<int64>
requerit

Identifier of the client location the project belongs to. Required.

TypeId
string<uuid>
requerit

Identifier of the project type. Required.

GroupId
integer<int64>
requerit

Identifier of the technician group the project is assigned to. Required.

Exemple:

101

Description
string | null

Project description.

LeadAssigneeId
integer<int64> | null

Identifier of the technician to lead the project. Optional - a project created without one has no lead, and none is assigned by default.

TagIds
string<uuid>[] | null

Identifiers of tags to apply to the project.

WatcherIds
integer<int64>[] | null

Identifiers of technicians to watch the project. The lead is never also a watcher.

SharedWithContactIds
integer<int64>[] | null

Identifiers of contacts to share the project with. They must belong to ClientId.

TargetDate
string<date-time> | null

Date the project is targeted to finish (UTC).

CreatedByName
string | null

Display name to record as the project creator. An API key is not a person, so when it is omitted or blank the creator is recorded as API.

CreatedOn
string<date-time> | null

Backdate the project's creation timestamp - for importing projects from another system. Must not be in the future. Omit to use the current time. Send only when importing history. A record with this field set sends no emails or notifications.

UpdatedOn
string<date-time> | null

Backdate the project's last-activity timestamp so an imported project does not sort above live work. Must not be in the future or earlier than CreatedOn. Defaults to the effective creation time.

Resposta

OK

StatusCode
enum<integer>
Opcions disponibles:
100,
101,
102,
103,
200,
201,
202,
203,
204,
205,
206,
207,
208,
226,
300,
301,
302,
303,
304,
305,
306,
307,
308,
400,
401,
402,
403,
404,
405,
406,
407,
408,
409,
410,
411,
412,
413,
414,
415,
416,
417,
421,
422,
423,
424,
426,
428,
429,
431,
451,
500,
501,
502,
503,
504,
505,
506,
507,
508,
510,
511
IsSuccess
boolean
Data
object

The identifier of the created project.

DataContext
object | null
Exemple:

null

Notifications
object[]