POST Project/Validate
Some tooltip text!
• 7 minutes to read
• 7 minutes to read
POST /api/v1/Project/Validate
Check that entity is ready for saving, return error messages by field.
Request Headers
| Parameter Name | Description |
|---|---|
| Authorization | Supports 'Basic', 'SoTicket' and 'Bearer' schemes, depending on installation type. |
| X-XSRF-TOKEN | If not using Authorization header, you must provide XSRF value from cookie or hidden input field |
| Content-Type | Content-type of the request body: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded, application/json-patch+json, application/merge-patch+json |
| Accept | Content-type(s) you would like the response in: application/json, text/json, application/xml, text/xml, application/json-patch+json, application/merge-patch+json |
| Accept-Language | Convert string references and multi-language values into a specified language (iso2) code. |
| SO-Language | Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value. |
| SO-Culture | Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set. |
| SO-TimeZone | Specify the timezone code that you would like date/time responses converted to. |
| SO-AppToken | The application token that identifies the partner app. Used when calling Online WebAPI from a server. |
Request Body: projectEntity
Entity to be checked for errors.
| Property Name | Type | Description |
|---|---|---|
| ProjectId | Integer | Primary key |
| Name | String | Project name |
| ProjectNumber | String | Automatically generated number |
| ProjectMembers | Array | The persons which are members of the project |
| Urls | Array | The project's internet adresses |
| CreatedDate | String | Registered date in UTC. |
| UpdatedDate | String | Last updated date in UTC. |
| Description | String | The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases |
| Postit | String | The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases |
| CreatedBy | Associate | The person that created the project |
| UpdatedBy | Associate | The person that last updated the project |
| Associate | Associate | The person that created the project |
| ProjectStatus | ProjectStatus | Project status is a list defined by the database administrator. Different statuses of a project may be: “In planning”, “Started”, “Finished” and so on |
| ProjectType | ProjectType | Project type is a list defined by the database admin. for example: 'Large', 'Small', 'Party'... |
| HasImage | Boolean | True if the project has an image. (This is the image that is displayed in the CRM client) |
| ImageDescription | String | Description of the project image if it exists. (This is the image that is displayed in the CRM client) |
| ActiveStatusMonitorId | Integer | Active status monitor identity with the lowest rank for project |
| Links | Array | List of all elements linked to the project |
| ActiveLinks | Integer | Number of active links to documents, other appointments, and such |
| Completed | Boolean | Done (0=false, 1=true). Status implies changes in which fields are shown in GUI, as well as which fields can be updated |
| NextMilestoneDate | String | Calculated date, reflects date of closest non-complete future milestone activity |
| NmdAppointmentId | Integer | ID of appointment that "caused" the nextMilestoneDate, can be 0 |
| EndDate | String | Planned end date for project, inhertied from type and later editable |
| ActiveErpLinks | Integer | The number of active erp links |
| UserDefinedFields | Object | Deprecated: Use {SuperOffice.CRM.Services.ProjectEntity.CustomFields} instead. Dictionary of user defined field data. The key string is the ProgId of the UdefField, or if the ProgId is empty it is a string of the format "SuperOffice:[UdefFieldIdentity]", e.g. "SuperOffice:1234" |
| ExtraFields | Object | Deprecated: Use {SuperOffice.CRM.Services.ProjectEntity.CustomFields} instead. Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc. |
| CustomFields | Object | Udef + Extra fields added to the carrier. Extra fields as defined by changes to database schema + user-defined fields as defined by admin. Custom fields combines user defined fields and extra fields into one bucket. The individual {SuperOffice.CRM.Services.ProjectEntity.ExtraFields} and |
| PublishEventDate | String | Publish event date |
| PublishTo | String | Publication valid to (inclusive) |
| PublishFrom | String | Publication valid from (inclusive) |
| IsPublished | Boolean | Publication is published |
Response:object
OK
| Response | Description |
|---|---|
| 200 | OK |
Response body: object
Sample request
POST /api/v1/Project/Validate
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: sv
Content-Type: application/json; charset=utf-8
{
"ProjectId": 77,
"Name": "O'Keefe-Heaney",
"ProjectNumber": "843875",
"ProjectMembers": [
{
"ProjectmemberId": 942,
"ContactId": 628,
"ProjectId": 811,
"ContactName": "Heller, Hand and Bode",
"ContactDepartment": "",
"ProjectName": "Paucek Group",
"EmailId": 518,
"EmailAddress": "clyde@yundt.com",
"CountryId": 243,
"Firstname": "Rebecca",
"MiddleName": "Trantow-Langosh",
"Lastname": "Mayer",
"PersonId": 273,
"Mrmrs": "eaque",
"ProjectMemberTypeName": "Ondricka-O'Conner",
"Phone": "403-755-8402 x39522",
"PhoneId": 596,
"ProjectMemberTypeId": 104,
"EmailAddressName": "jessica@howemorar.name",
"Comment": "dolorem",
"FullName": "Eugene Blaze Hayes IV",
"Registered": "2012-03-03T14:34:02.2062098+01:00",
"Updated": "2025-10-11T14:34:02.2062098+02:00"
}
],
"Urls": [
{
"Value": "quod",
"StrippedValue": "iusto",
"Description": "Distributed even-keeled complexity"
},
{
"Value": "quod",
"StrippedValue": "iusto",
"Description": "Distributed even-keeled complexity"
}
],
"CreatedDate": "2015-09-21T14:34:02.2062098+02:00",
"UpdatedDate": "2001-12-12T14:34:02.2062098+01:00",
"Description": "Organic maximized analyzer",
"Postit": "voluptatem",
"CreatedBy": null,
"UpdatedBy": null,
"Associate": null,
"ProjectStatus": null,
"ProjectType": null,
"HasImage": true,
"ImageDescription": "Organized composite artificial intelligence",
"ActiveStatusMonitorId": 155,
"Links": [
{
"EntityName": "Mueller-Nolan",
"Id": 403,
"Description": "Right-sized upward-trending architecture",
"ExtraInfo": "nam",
"LinkId": 960
},
{
"EntityName": "Mueller-Nolan",
"Id": 403,
"Description": "Right-sized upward-trending architecture",
"ExtraInfo": "nam",
"LinkId": 960
}
],
"ActiveLinks": 147,
"Completed": true,
"NextMilestoneDate": "1999-04-24T14:34:02.2213373+02:00",
"NmdAppointmentId": 498,
"EndDate": "2004-06-29T14:34:02.2213373+02:00",
"ActiveErpLinks": 764,
"UserDefinedFields": {
"SuperOffice:1": "False",
"SuperOffice:2": "Albert Jacinto Auer III"
},
"ExtraFields": {
"ExtraFields1": "et",
"ExtraFields2": "velit"
},
"CustomFields": {
"CustomFields1": "nesciunt",
"CustomFields2": "maxime"
},
"PublishEventDate": "2023-07-09T14:34:02.2213373+02:00",
"PublishTo": "2010-10-08T14:34:02.2213373+02:00",
"PublishFrom": "2019-11-23T14:34:02.2213373+01:00",
"IsPublished": false
}
Sample response
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"1": "ex",
"2": "voluptas"
}