TimeMapAPI
Click here for a complete list of operations.
createProject
| Always use Test server for test and development. All usage restrictions on test is 200 requests. Url: https://testservice.timemap.dk/timemapapi.asmx | |
| Description: | Used for importing/updatering projects
Note, Fair usage limit: 100 request per hour. |
| Parameters: |
To set values to null, specify 'null' in the parameter. Empty parameters is not updated.
|
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /TimeMapApi.asmx HTTP/1.1
Host: testservice.timemap.dk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/createProject"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<createProject xmlns="http://tempuri.org/">
<apikey>string</apikey>
<apipwd>string</apipwd>
<username>string</username>
<projectNo>string</projectNo>
<projectName>string</projectName>
<departmentNo>string</departmentNo>
<mainProjectNo>string</mainProjectNo>
<validFrom>string</validFrom>
<validTo>string</validTo>
<completed>string</completed>
<projectManagerNo>string</projectManagerNo>
<quantity>string</quantity>
<productionStart>string</productionStart>
<usePlanning>string</usePlanning>
<resourcesPerDay>string</resourcesPerDay>
<resourceType>string</resourceType>
<estimatedResources>string</estimatedResources>
<estimatedHours>string</estimatedHours>
<totalProjectCost>string</totalProjectCost>
<costPerHour>string</costPerHour>
<invoicePricePerHour>string</invoicePricePerHour>
<projectType>string</projectType>
<taskNos>string</taskNos>
<departmentAccessNo>string</departmentAccessNo>
<employeeAccessNo>string</employeeAccessNo>
<showOnTerminal>string</showOnTerminal>
<projectStatus>string</projectStatus>
</createProject>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<createProjectResponse xmlns="http://tempuri.org/">
<createProjectResult>string</createProjectResult>
</createProjectResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /TimeMapApi.asmx HTTP/1.1
Host: testservice.timemap.dk
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<createProject xmlns="http://tempuri.org/">
<apikey>string</apikey>
<apipwd>string</apipwd>
<username>string</username>
<projectNo>string</projectNo>
<projectName>string</projectName>
<departmentNo>string</departmentNo>
<mainProjectNo>string</mainProjectNo>
<validFrom>string</validFrom>
<validTo>string</validTo>
<completed>string</completed>
<projectManagerNo>string</projectManagerNo>
<quantity>string</quantity>
<productionStart>string</productionStart>
<usePlanning>string</usePlanning>
<resourcesPerDay>string</resourcesPerDay>
<resourceType>string</resourceType>
<estimatedResources>string</estimatedResources>
<estimatedHours>string</estimatedHours>
<totalProjectCost>string</totalProjectCost>
<costPerHour>string</costPerHour>
<invoicePricePerHour>string</invoicePricePerHour>
<projectType>string</projectType>
<taskNos>string</taskNos>
<departmentAccessNo>string</departmentAccessNo>
<employeeAccessNo>string</employeeAccessNo>
<showOnTerminal>string</showOnTerminal>
<projectStatus>string</projectStatus>
</createProject>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<createProjectResponse xmlns="http://tempuri.org/">
<createProjectResult>string</createProjectResult>
</createProjectResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /TimeMapApi.asmx/createProject?apikey=string&apipwd=string&username=string&projectNo=string&projectName=string&departmentNo=string&mainProjectNo=string&validFrom=string&validTo=string&completed=string&projectManagerNo=string&quantity=string&productionStart=string&usePlanning=string&resourcesPerDay=string&resourceType=string&estimatedResources=string&estimatedHours=string&totalProjectCost=string&costPerHour=string&invoicePricePerHour=string&projectType=string&taskNos=string&departmentAccessNo=string&employeeAccessNo=string&showOnTerminal=string&projectStatus=string HTTP/1.1 Host: testservice.timemap.dk
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>