POST cubes/projectinit/createproject/{userConnectedID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userConnectedID | integer |
Required |
Body Parameters
CreateProject| Name | Description | Type | Additional information |
|---|---|---|---|
| RangeNumberID | integer |
None. |
|
| ProjectLabel | string |
None. |
|
| ProjectStatusID | integer |
None. |
|
| CostUnitID | integer |
None. |
|
| CostUnitLabel | string |
None. |
|
| ManagerID | integer |
None. |
|
| ManagerName | string |
None. |
|
| OfficeWorkerID | integer |
None. |
|
| OfficeWorkerName | string |
None. |
|
| UserConnectedName | string |
None. |
|
| CategoryID | integer |
None. |
|
| CategoryName | string |
None. |
|
| CustomerID | integer |
None. |
|
| CustomerLabel | string |
None. |
|
| CpCustomerID | integer |
None. |
|
| CpCustomerName | string |
None. |
|
| LocationID | integer |
None. |
|
| LocationLabel | string |
None. |
|
| CpLocationID | integer |
None. |
|
| CpLocationName | string |
None. |
|
| CpOrderID | integer |
None. |
|
| CpOrderName | string |
None. |
|
| Department | string |
None. |
|
| AreaActID | integer |
None. |
|
| AreaActLabel | string |
None. |
|
| ListDomainActIDs | Collection of integer |
None. |
|
| ListDomainActLabels | Collection of string |
None. |
|
| ListActivityIDs | Collection of integer |
None. |
|
| ListActivityLabel | Collection of string |
None. |
|
| StartDate | string |
None. |
|
| EndDate | string |
None. |
|
| ShiftsInformationList | Collection of ShiftsInformation |
None. |
|
| Saturdays | boolean |
None. |
|
| Sundays | boolean |
None. |
|
| Logistics | boolean |
None. |
|
| Sap | boolean |
None. |
|
| Repack | boolean |
None. |
|
| ReportingID | integer |
None. |
|
| ReportingLabel | string |
None. |
|
| TestTime | integer |
None. |
|
| Quantity | integer |
None. |
|
| DocumentLabel | string |
None. |
|
| DocumentBase64 | string |
None. |
|
| Measure | string |
None. |
|
| Complaint | string |
None. |
|
| ListPartIDs | Collection of integer |
None. |
|
| ListPartLabels | Collection of string |
None. |
|
| ListErrorsIDs | Collection of integer |
None. |
|
| ListErrorsLabels | Collection of string |
None. |
|
| ListTestEquipmentAndToolsIDs | Collection of integer |
None. |
|
| OrderSourceExternalID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"RangeNumberID": 1,
"ProjectLabel": "sample string 2",
"ProjectStatusID": 3,
"CostUnitID": 4,
"CostUnitLabel": "sample string 5",
"ManagerID": 6,
"ManagerName": "sample string 7",
"OfficeWorkerID": 8,
"OfficeWorkerName": "sample string 9",
"UserConnectedName": "sample string 10",
"CategoryID": 11,
"CategoryName": "sample string 12",
"CustomerID": 13,
"CustomerLabel": "sample string 14",
"CpCustomerID": 15,
"CpCustomerName": "sample string 16",
"LocationID": 17,
"LocationLabel": "sample string 18",
"CpLocationID": 19,
"CpLocationName": "sample string 20",
"CpOrderID": 21,
"CpOrderName": "sample string 22",
"Department": "sample string 23",
"AreaActID": 24,
"AreaActLabel": "sample string 25",
"ListDomainActIDs": [
1,
2
],
"ListDomainActLabels": [
"sample string 1",
"sample string 2"
],
"ListActivityIDs": [
1,
2
],
"ListActivityLabel": [
"sample string 1",
"sample string 2"
],
"StartDate": "sample string 26",
"EndDate": "sample string 27",
"ShiftsInformationList": [
{
"EmployeeQualificationID": 1,
"ListShiftIDs": [
1,
2
],
"Number": 2
},
{
"EmployeeQualificationID": 1,
"ListShiftIDs": [
1,
2
],
"Number": 2
}
],
"Saturdays": true,
"Sundays": true,
"Logistics": true,
"Sap": true,
"Repack": true,
"ReportingID": 33,
"ReportingLabel": "sample string 34",
"TestTime": 35,
"Quantity": 36,
"DocumentLabel": "sample string 37",
"DocumentBase64": "sample string 38",
"Measure": "sample string 39",
"Complaint": "sample string 40",
"ListPartIDs": [
1,
2
],
"ListPartLabels": [
"sample string 1",
"sample string 2"
],
"ListErrorsIDs": [
1,
2
],
"ListErrorsLabels": [
"sample string 1",
"sample string 2"
],
"ListTestEquipmentAndToolsIDs": [
1,
2
],
"OrderSourceExternalID": 41
}
application/xml, text/xml
Sample:
<CreateProject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CubesApi.Models">
<AreaActID>24</AreaActID>
<AreaActLabel>sample string 25</AreaActLabel>
<CategoryID>11</CategoryID>
<CategoryName>sample string 12</CategoryName>
<Complaint>sample string 40</Complaint>
<CostUnitID>4</CostUnitID>
<CostUnitLabel>sample string 5</CostUnitLabel>
<CpCustomerID>15</CpCustomerID>
<CpCustomerName>sample string 16</CpCustomerName>
<CpLocationID>19</CpLocationID>
<CpLocationName>sample string 20</CpLocationName>
<CpOrderID>21</CpOrderID>
<CpOrderName>sample string 22</CpOrderName>
<CustomerID>13</CustomerID>
<CustomerLabel>sample string 14</CustomerLabel>
<Department>sample string 23</Department>
<DocumentBase64>sample string 38</DocumentBase64>
<DocumentLabel>sample string 37</DocumentLabel>
<EndDate>sample string 27</EndDate>
<ListActivityIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</ListActivityIDs>
<ListActivityLabel xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ListActivityLabel>
<ListDomainActIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</ListDomainActIDs>
<ListDomainActLabels xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ListDomainActLabels>
<ListErrorsIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</ListErrorsIDs>
<ListErrorsLabels xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ListErrorsLabels>
<ListPartIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</ListPartIDs>
<ListPartLabels xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ListPartLabels>
<ListTestEquipmentAndToolsIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</ListTestEquipmentAndToolsIDs>
<LocationID>17</LocationID>
<LocationLabel>sample string 18</LocationLabel>
<Logistics>true</Logistics>
<ManagerID>6</ManagerID>
<ManagerName>sample string 7</ManagerName>
<Measure>sample string 39</Measure>
<OfficeWorkerID>8</OfficeWorkerID>
<OfficeWorkerName>sample string 9</OfficeWorkerName>
<OrderSourceExternalID>41</OrderSourceExternalID>
<ProjectLabel>sample string 2</ProjectLabel>
<ProjectStatusID>3</ProjectStatusID>
<Quantity>36</Quantity>
<RangeNumberID>1</RangeNumberID>
<Repack>true</Repack>
<ReportingID>33</ReportingID>
<ReportingLabel>sample string 34</ReportingLabel>
<Sap>true</Sap>
<Saturdays>true</Saturdays>
<ShiftsInformationList>
<ShiftsInformation>
<EmployeeQualificationID>1</EmployeeQualificationID>
<ListShiftIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:long>1</d4p1:long>
<d4p1:long>2</d4p1:long>
</ListShiftIDs>
<Number>2</Number>
</ShiftsInformation>
<ShiftsInformation>
<EmployeeQualificationID>1</EmployeeQualificationID>
<ListShiftIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:long>1</d4p1:long>
<d4p1:long>2</d4p1:long>
</ListShiftIDs>
<Number>2</Number>
</ShiftsInformation>
</ShiftsInformationList>
<StartDate>sample string 26</StartDate>
<Sundays>true</Sundays>
<TestTime>35</TestTime>
<UserConnectedName>sample string 10</UserConnectedName>
</CreateProject>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MessageResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Successfully | string |
None. |
|
| Error | string |
None. |
|
| SavedID | string |
None. |
|
| Label | string |
None. |
|
| ListItems |
None. |
Response Formats
application/json, text/json
Sample:
{
"Successfully": "sample string 1",
"Error": "sample string 2",
"SavedID": "sample string 3",
"Label": "sample string 4",
"ListItems": [
{
"ID": "sample string 1",
"Label": "sample string 2"
},
{
"ID": "sample string 1",
"Label": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<MessageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGS.Model">
<Error>sample string 2</Error>
<Label>sample string 4</Label>
<ListItems>
<ItemIDLabel>
<ID>sample string 1</ID>
<Label>sample string 2</Label>
</ItemIDLabel>
<ItemIDLabel>
<ID>sample string 1</ID>
<Label>sample string 2</Label>
</ItemIDLabel>
</ListItems>
<SavedID>sample string 3</SavedID>
<Successfully>sample string 1</Successfully>
</MessageResponse>