PUT api/projects/update?cid={cid}&userID={userID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cid | integer |
Required |
|
| userID | integer |
Required |
Body Parameters
Collection of t_oms_projects| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectID | integer |
None. |
|
| ProjectName | string |
None. |
|
| ProjectDesc | string |
None. |
|
| Employer | integer |
None. |
|
| ProjectLocation | string |
None. |
|
| ProjectAddress | string |
None. |
|
| ProjectDuration | integer |
None. |
|
| ProjectSchStartDate | date |
None. |
|
| ProjectSchFinishDate | date |
None. |
|
| ProjectStartDate | date |
None. |
|
| ProjectEndDate | date |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedOn | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| IsActive | integer |
None. |
|
| Tenderid | integer |
None. |
|
| ProjectType | integer |
None. |
|
| Factorid | integer |
None. |
|
| value | decimal number |
None. |
|
| PROGROUP | string |
None. |
|
| MAINTENANCECOST | decimal number |
None. |
|
| Loa | string |
None. |
|
| refNo | string |
None. |
|
| PrincipalContractor | integer |
None. |
|
| StateId | integer |
None. |
|
| CountryId | integer |
None. |
|
| RevLedgerId | integer |
None. |
|
| Status | integer |
None. |
|
| EmployerOffice | integer |
None. |
|
| FileExt | string |
None. |
|
| PrincipleEmployer | integer |
None. |
|
| PrincipleEmployerOffice | integer |
None. |
|
| RecordableOffice | integer |
None. |
|
| PrincipleRecordableOffice | integer |
None. |
|
| UoM_Currency | integer |
None. |
|
| ProgressType | integer |
None. |
|
| ExecutedValue | decimal number |
None. |
|
| Remarks | string |
None. |
|
| SpecialStatusID | integer |
None. |
|
| SpecialRemarks | string |
None. |
|
| ContractCallValue | decimal number |
None. |
|
| BudgetedValue | decimal number |
None. |
|
| ActualExpenditure | decimal number |
None. |
|
| ActualBilledValue | decimal number |
None. |
|
| ExpLedgerID | integer |
None. |
|
| CompanyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ProjectID": 1,
"ProjectName": "sample string 2",
"ProjectDesc": "sample string 3",
"Employer": 4,
"ProjectLocation": "sample string 5",
"ProjectAddress": "sample string 6",
"ProjectDuration": 7,
"ProjectSchStartDate": "2026-06-01T18:37:05.0064608+00:00",
"ProjectSchFinishDate": "2026-06-01T18:37:05.0069909+00:00",
"ProjectStartDate": "2026-06-01T18:37:05.0069909+00:00",
"ProjectEndDate": "2026-06-01T18:37:05.0069909+00:00",
"CreatedOn": "2026-06-01T18:37:05.0069909+00:00",
"CreatedBy": 13,
"UpdatedOn": "2026-06-01T18:37:05.0069909+00:00",
"UpdatedBy": 15,
"IsActive": 16,
"Tenderid": 17,
"ProjectType": 18,
"Factorid": 19,
"value": 20.0,
"PROGROUP": "sample string 21",
"MAINTENANCECOST": 22.0,
"Loa": "sample string 23",
"refNo": "sample string 24",
"PrincipalContractor": 25,
"StateId": 26,
"CountryId": 27,
"RevLedgerId": 28,
"Status": 29,
"EmployerOffice": 30,
"FileExt": "sample string 31",
"PrincipleEmployer": 32,
"PrincipleEmployerOffice": 33,
"RecordableOffice": 34,
"PrincipleRecordableOffice": 35,
"UoM_Currency": 36,
"ProgressType": 37,
"ExecutedValue": 38.0,
"Remarks": "sample string 39",
"SpecialStatusID": 40,
"SpecialRemarks": "sample string 41",
"ContractCallValue": 42.0,
"BudgetedValue": 43.0,
"ActualExpenditure": 44.0,
"ActualBilledValue": 45.0,
"ExpLedgerID": 46,
"CompanyId": 47
},
{
"ProjectID": 1,
"ProjectName": "sample string 2",
"ProjectDesc": "sample string 3",
"Employer": 4,
"ProjectLocation": "sample string 5",
"ProjectAddress": "sample string 6",
"ProjectDuration": 7,
"ProjectSchStartDate": "2026-06-01T18:37:05.0064608+00:00",
"ProjectSchFinishDate": "2026-06-01T18:37:05.0069909+00:00",
"ProjectStartDate": "2026-06-01T18:37:05.0069909+00:00",
"ProjectEndDate": "2026-06-01T18:37:05.0069909+00:00",
"CreatedOn": "2026-06-01T18:37:05.0069909+00:00",
"CreatedBy": 13,
"UpdatedOn": "2026-06-01T18:37:05.0069909+00:00",
"UpdatedBy": 15,
"IsActive": 16,
"Tenderid": 17,
"ProjectType": 18,
"Factorid": 19,
"value": 20.0,
"PROGROUP": "sample string 21",
"MAINTENANCECOST": 22.0,
"Loa": "sample string 23",
"refNo": "sample string 24",
"PrincipalContractor": 25,
"StateId": 26,
"CountryId": 27,
"RevLedgerId": 28,
"Status": 29,
"EmployerOffice": 30,
"FileExt": "sample string 31",
"PrincipleEmployer": 32,
"PrincipleEmployerOffice": 33,
"RecordableOffice": 34,
"PrincipleRecordableOffice": 35,
"UoM_Currency": 36,
"ProgressType": 37,
"ExecutedValue": 38.0,
"Remarks": "sample string 39",
"SpecialStatusID": 40,
"SpecialRemarks": "sample string 41",
"ContractCallValue": 42.0,
"BudgetedValue": 43.0,
"ActualExpenditure": 44.0,
"ActualBilledValue": 45.0,
"ExpLedgerID": 46,
"CompanyId": 47
}
]
application/xml, text/xml
Sample:
<ArrayOft_oms_projects xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Login">
<t_oms_projects>
<ActualBilledValue>45</ActualBilledValue>
<ActualExpenditure>44</ActualExpenditure>
<BudgetedValue>43</BudgetedValue>
<CompanyId>47</CompanyId>
<ContractCallValue>42</ContractCallValue>
<CountryId>27</CountryId>
<CreatedBy>13</CreatedBy>
<CreatedOn>2026-06-01T18:37:05.0069909+00:00</CreatedOn>
<Employer>4</Employer>
<EmployerOffice>30</EmployerOffice>
<ExecutedValue>38</ExecutedValue>
<ExpLedgerID>46</ExpLedgerID>
<Factorid>19</Factorid>
<FileExt>sample string 31</FileExt>
<IsActive>16</IsActive>
<Loa>sample string 23</Loa>
<MAINTENANCECOST>22</MAINTENANCECOST>
<PROGROUP>sample string 21</PROGROUP>
<PrincipalContractor>25</PrincipalContractor>
<PrincipleEmployer>32</PrincipleEmployer>
<PrincipleEmployerOffice>33</PrincipleEmployerOffice>
<PrincipleRecordableOffice>35</PrincipleRecordableOffice>
<ProgressType>37</ProgressType>
<ProjectAddress>sample string 6</ProjectAddress>
<ProjectDesc>sample string 3</ProjectDesc>
<ProjectDuration>7</ProjectDuration>
<ProjectEndDate>2026-06-01T18:37:05.0069909+00:00</ProjectEndDate>
<ProjectID>1</ProjectID>
<ProjectLocation>sample string 5</ProjectLocation>
<ProjectName>sample string 2</ProjectName>
<ProjectSchFinishDate>2026-06-01T18:37:05.0069909+00:00</ProjectSchFinishDate>
<ProjectSchStartDate>2026-06-01T18:37:05.0064608+00:00</ProjectSchStartDate>
<ProjectStartDate>2026-06-01T18:37:05.0069909+00:00</ProjectStartDate>
<ProjectType>18</ProjectType>
<RecordableOffice>34</RecordableOffice>
<Remarks>sample string 39</Remarks>
<RevLedgerId>28</RevLedgerId>
<SpecialRemarks>sample string 41</SpecialRemarks>
<SpecialStatusID>40</SpecialStatusID>
<StateId>26</StateId>
<Status>29</Status>
<Tenderid>17</Tenderid>
<UoM_Currency>36</UoM_Currency>
<UpdatedBy>15</UpdatedBy>
<UpdatedOn>2026-06-01T18:37:05.0069909+00:00</UpdatedOn>
<refNo>sample string 24</refNo>
<value>20</value>
</t_oms_projects>
<t_oms_projects>
<ActualBilledValue>45</ActualBilledValue>
<ActualExpenditure>44</ActualExpenditure>
<BudgetedValue>43</BudgetedValue>
<CompanyId>47</CompanyId>
<ContractCallValue>42</ContractCallValue>
<CountryId>27</CountryId>
<CreatedBy>13</CreatedBy>
<CreatedOn>2026-06-01T18:37:05.0069909+00:00</CreatedOn>
<Employer>4</Employer>
<EmployerOffice>30</EmployerOffice>
<ExecutedValue>38</ExecutedValue>
<ExpLedgerID>46</ExpLedgerID>
<Factorid>19</Factorid>
<FileExt>sample string 31</FileExt>
<IsActive>16</IsActive>
<Loa>sample string 23</Loa>
<MAINTENANCECOST>22</MAINTENANCECOST>
<PROGROUP>sample string 21</PROGROUP>
<PrincipalContractor>25</PrincipalContractor>
<PrincipleEmployer>32</PrincipleEmployer>
<PrincipleEmployerOffice>33</PrincipleEmployerOffice>
<PrincipleRecordableOffice>35</PrincipleRecordableOffice>
<ProgressType>37</ProgressType>
<ProjectAddress>sample string 6</ProjectAddress>
<ProjectDesc>sample string 3</ProjectDesc>
<ProjectDuration>7</ProjectDuration>
<ProjectEndDate>2026-06-01T18:37:05.0069909+00:00</ProjectEndDate>
<ProjectID>1</ProjectID>
<ProjectLocation>sample string 5</ProjectLocation>
<ProjectName>sample string 2</ProjectName>
<ProjectSchFinishDate>2026-06-01T18:37:05.0069909+00:00</ProjectSchFinishDate>
<ProjectSchStartDate>2026-06-01T18:37:05.0064608+00:00</ProjectSchStartDate>
<ProjectStartDate>2026-06-01T18:37:05.0069909+00:00</ProjectStartDate>
<ProjectType>18</ProjectType>
<RecordableOffice>34</RecordableOffice>
<Remarks>sample string 39</Remarks>
<RevLedgerId>28</RevLedgerId>
<SpecialRemarks>sample string 41</SpecialRemarks>
<SpecialStatusID>40</SpecialStatusID>
<StateId>26</StateId>
<Status>29</Status>
<Tenderid>17</Tenderid>
<UoM_Currency>36</UoM_Currency>
<UpdatedBy>15</UpdatedBy>
<UpdatedOn>2026-06-01T18:37:05.0069909+00:00</UpdatedOn>
<refNo>sample string 24</refNo>
<value>20</value>
</t_oms_projects>
</ArrayOft_oms_projects>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |