POST api/Project/CreateProject

Creates a project. Required fields (ProjectName, ProjecTypeId)

Access

Requires authentication.

Requires SSL.

Request Information

Parameters

NameDescriptionAdditional information
project
The project.

Define this parameter in the request body.

Request body formats

application/xml, text/xml

Sample:
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Id>1</Id>
  <Readonly>true</Readonly>
  <ProjectName>sample string 1</ProjectName>
  <ExternalCode>sample string 2</ExternalCode>
  <ProjectTypeId>3</ProjectTypeId>
  <TransportDescription1>sample string 4</TransportDescription1>
  <TransportDescription2>sample string 5</TransportDescription2>
  <TransportDescription3>sample string 6</TransportDescription3>
  <TransportDescription4>sample string 7</TransportDescription4>
</Project>

application/json, text/json

Sample:
{
  "ProjectName": "sample string 1",
  "ExternalCode": "sample string 2",
  "ProjectTypeId": 3,
  "TransportDescription1": "sample string 4",
  "TransportDescription2": "sample string 5",
  "TransportDescription3": "sample string 6",
  "TransportDescription4": "sample string 7",
  "Id": 1,
  "Readonly": true
}

Response Information

Response body formats

application/xml, text/xml

Sample:
<ApiResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ResponseCode>1</ResponseCode>
  <ResponseDescription>sample string 2</ResponseDescription>
  <MethodExpirationDate>2024-05-17T03:37:46.7047117+02:00</MethodExpirationDate>
  <ResponseObject>1</ResponseObject>
</ApiResponse>

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseDescription": "sample string 2",
  "MethodExpirationDate": "2024-05-17T03:37:46.7047117+02:00",
  "ResponseObject": 1
}