ProjectsCreateProject

CreateProject

Project management service 1.8: Create a project

ServiceProject management 1.8
EndpointPOST https://app{server-number}.timelog.com/{account}/WebServices/ProjectManagement/V1_8/ProjectManagementServiceSecure.svc
SOAPActionCreateProjectRequest
Content-Typetext/xml; charset=utf-8
AuthenticationA token from GetToken
PermissionsThe system service user always passes. This is the ONLY project operation of the service that checks a privilege.
Changes dataYes
Safe to retryLook the project up by GUID / external key before resending.

How it works

If the project picked up a legacy default hourly rate it is mapped to the main contract's rate. Finally the project is moved to the account's default project status for external projects. MainContractID selects the main contract MODEL on create (1 time & material... 8 continuous item invoicing; any other value = time & material) - see the Project schema.

Parameters

Each parameter has one label: Required, Conditional (required depending on other values) or Optional. Send them in the order shown.

projectProject
Required

The Project to send. Its fields are listed below.

tokenSecurityToken
Required

The token from GetToken: Initials, Expires and Hash, sent back unchanged.

Request

POST /{account}/WebServices/ProjectManagement/V1_8/ProjectManagementServiceSecure.svc HTTP/1.1
Host: app{server-number}.timelog.com
Content-Type: text/xml; charset=utf-8
SOAPAction: "CreateProjectRequest"

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:pm="http://www.timelog.com/api/tlp/v1_8"
                  xmlns:tok="http://www.timelog.com/api/tlp/v1_3">
  <soapenv:Body>
    <pm:CreateProject>
      <pm:project>
        <pm:CustomerID>{CustomerID}</pm:CustomerID>
        <pm:Name>{Name}</pm:Name>
        <pm:No>{No}</pm:No>
        <pm:ProjectManagerID>{ProjectManagerID}</pm:ProjectManagerID>
        <!-- more fields: see Parameters -->
      </pm:project>
      <pm:token>
        <tok:Initials>{Initials from GetToken}</tok:Initials>
        <tok:Expires>{Expires from GetToken, unchanged}</tok:Expires>
        <tok:Hash>{Hash from GetToken}</tok:Hash>
      </pm:token>
    </pm:CreateProject>
  </soapenv:Body>
</soapenv:Envelope>
Replace every {…} placeholder with your own value.

Response

The call returns the standard response envelope. Check ResponseState first: a failed call still returns HTTP 200.

ResponseStatestring
Required

Success, Invalid or Error.

ErrorCodeinteger

0 on success, otherwise the error code. See Errors.

ReturnBatchContainerOfProjectApiReadModel[]

The result. Always a list: read the first item for operations that return one object.

Example response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <CreateProjectResponse xmlns="http://www.timelog.com/api/tlp/v1_8">
      <CreateProjectResult xmlns:a="http://www.timelog.com/api/tlp/v1_2"
                           xmlns:b="http://api.timelog.com"
                           xmlns:c="http://www.timelog.com/api/tlp/v1_8"
                           xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <a:Return>
          <a:BatchContainerOfProjectApiReadModel>
            <a:Item>
              <b:Action>Original</b:Action>
              <b:IsCustomFieldsLoaded>false</b:IsCustomFieldsLoaded>
              <b:CustomFields i:nil="true"/>
              <b:IsExternalKeysLoaded>false</b:IsExternalKeysLoaded>
              <b:ExternalKeys i:nil="true"/>
              <c:ID>3f2504e0-4f89-41d3-9a0c-305000000001</c:ID>
              <c:ProjectID>1001</c:ProjectID>
              <c:CustomerID>1001</c:CustomerID>
              <c:Name>Example </c:Name>
              <c:No>1001</c:No>
              <c:Description>Example</c:Description>
              <c:Link>Example</c:Link>
              <c:StartDate>2026-10-01T00:00:00</c:StartDate>
              <c:EndDate>2026-10-01T00:00:00</c:EndDate>
              <c:IsInternalProject>false</c:IsInternalProject>
              <c:ProjectManagerID>1001</c:ProjectManagerID>
              <c:AccountManagerID>1001</c:AccountManagerID>
              <c:DepartmentHandledByID>1001</c:DepartmentHandledByID>
              <c:DepartmentOrderedByID>1001</c:DepartmentOrderedByID>
              <c:TypeID>1001</c:TypeID>
              <c:CategoryID>1001</c:CategoryID>
              <c:StageID>1001</c:StageID>
              <c:LegalEntityID>1001</c:LegalEntityID>
              <c:PriceGroupID>1001</c:PriceGroupID>
              <c:ExchangeRate>0</c:ExchangeRate>
              <c:CurrencyID>1001</c:CurrencyID>
              <c:MainContractID>1001</c:MainContractID>
              <c:BudgetWorkHoursFixedPriceProject>0</c:BudgetWorkHoursFixedPriceProject>
              <c:BudgetWorkHoursFixedPriceTasks>0</c:BudgetWorkHoursFixedPriceTasks>
              <c:BudgetWorkHoursTimeAndMaterial>0</c:BudgetWorkHoursTimeAndMaterial>
              <c:BudgetWorkAmountFixedPriceProject>0</c:BudgetWorkAmountFixedPriceProject>
              <c:BudgetWorkAmountFixedPriceTasks>0</c:BudgetWorkAmountFixedPriceTasks>
              <c:BudgetWorkAmountTimeAndMaterial>0</c:BudgetWorkAmountTimeAndMaterial>
              <c:BudgetAmountExpenses>0</c:BudgetAmountExpenses>
              <c:BudgetAmountTravelExpenses>0</c:BudgetAmountTravelExpenses>
              <c:ProjectContactID>1001</c:ProjectContactID>
              <c:PurchaseOrderNumber>1001</c:PurchaseOrderNumber>
            </a:Item>
            <a:Status>Success</a:Status>
            <a:Message>Example</a:Message>
          </a:BatchContainerOfProjectApiReadModel>
        </a:Return>
        <a:ReturnTypeDescription>BatchContainerOfProjectApiReadModel</a:ReturnTypeDescription>
        <a:Request>…</a:Request>
        <a:ResponseState>Success</a:ResponseState>
        <a:Messages>
          <b:APIMessage>
            <b:Message>Duration of call was 0,0421337 sec.</b:Message>
            <b:Severity>Message</b:Severity>
            <b:ErrorCode>0</b:ErrorCode>
          </b:APIMessage>
        </a:Messages>
        <a:ErrorCode>0</a:ErrorCode>
        <a:IsReturnPaged>false</a:IsReturnPaged>
        <a:TotalPageCount>0</a:TotalPageCount>
      </CreateProjectResult>
    </CreateProjectResponse>
  </s:Body>
</s:Envelope>
Illustrative example: built from the service description (WSDL) in the same format as a real response, with made-up values. The Request block is shortened.

Errors

All errors come back with HTTP 200: check ResponseState, ErrorCode and Messages. The errors every operation can return (expired or invalid token, API not enabled, HTTPS required, general errors) are listed once in Responses and errors.

Errors specific to this operation:

ResponseStateErrorCodeMessageWhat it meansWhat to do
Error40001Error during call on TimeLog.API, Message 'Missing Role: User can create project!'The user may not create this project.Give the integration user a role with project create rights covering the project.
Error30171Error during call on TimeLog.API, Message 'Project number cannot be empty'No empty, no number series, empty numbers not allowed.Send the project number on every create / update.
Error37885Error during call on TimeLog.API, Message 'The standard hourly rate on project is invalid.'The legacy default hourly rate cannot be mapped - the project IS created.—
Error40001Error during call on TimeLog.API, Message 'This API endpoint is disabled due to the Currency Matrix feature being turned on. Please upgrade your Project API version to 1_8 or later.'—Move to the version named in the message.