- URL:
- https://<root>/<serviceName>/TopographicProductionServer/workflows/projects/addProject
- Methods:
GETPOST- Required Capability:
- Requires a Professional or Professional Plus user type account and a Topographic Mapping server extension license.
- Version Introduced:
- 12.0
Description
The add operation adds a project to the topographic production server and associates phases with the project along with start and end dates.
Request parameters
| Parameter | Details |
|---|---|
| The JSON object that defines the properties of a project including phases. Syntax: Example: |
| The response format. The default format is Values: |
JSON Response syntax
The following is the syntax of a response:
{
"project": "<Name of the project>",
"success": <true | false>
}Example usage
Add a project to the topographic production server using the add operation.
Request URL and parameters:
https://organization.example.com/<context>/rest/services/<SampleService>/TopographicProductionServer/workflows/projects/addProjectproject={
name: "Weapon X",
description: "Confidential",
startDate: "1882-01-01T00:00:00Z",
endDate: "2023-01-01T00:00:00Z",
phases: [
{
name: "James Howlett",
description: "Discovery phase",
startDate: "1882-01-01T00:00:00Z",
endDate: "1900-01-01T00:00:00Z"
},
{
name: "Logan",
description: "Development",
startDate: "1900-01-01T00:00:00Z",
endDate: "1941-01-01T00:00:00Z"
},
{
name: "Wolverine",
description: "Fruition",
startDate: "1941-01-01T00:00:00Z",
endDate: "2023-01-01T00:00:00Z"
}
]
}
f=jsonJSON Response example
The following is an example of a successful response:
{
"project": "Weapon X",
"success": true
}