PUT Api/CONTRACT/{id}?userid={userid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| userid | string |
Required |
Body Parameters
CONTRACT| Name | Description | Type | Additional information |
|---|---|---|---|
| CONTRACT_ID | integer |
None. |
|
| CONTRACT_NUMBER | string |
None. |
|
| CONTRACT_TITLE | string |
None. |
|
| COMPANY_ID | integer |
None. |
|
| IS_ENABLE_APPROVAL | integer |
None. |
|
| CONTRACT_WORK_DESC | string |
None. |
|
| SUBMITTED_BY_ID | string |
None. |
|
| CERT_AUTH_NUMBER | string |
None. |
|
| PE_NAME | string |
None. |
|
| NJ_PE_LICENSE_NUMBER | string |
None. |
|
| CONTRACT_START_DATE | date |
None. |
|
| CONTRACT_END_DATE | date |
None. |
|
| AUTO_CONFIRM_DAYS | integer |
None. |
|
| CONTACT_NAME | string |
None. |
|
| CONTACT_PHONE | string |
None. |
|
| CONTRACT_GUID | globally unique identifier |
None. |
|
| CEP_PSUP_NAME | string |
None. |
|
| CEP_PSUP_HOME_PHONE | string |
None. |
|
| CEP_PSUP_SECOND_PHONE | string |
None. |
|
| CEP_PSUP_CELLUAR | string |
None. |
|
| CEP_ALT1_NAME | string |
None. |
|
| CEP_ALT1_HOME_PHONE | string |
None. |
|
| CEP_ALT1_SECOND_PHONE | string |
None. |
|
| CEP_ALT1_CELLUAR | string |
None. |
|
| CEP_TC1_NAME | string |
None. |
|
| CEP_TC1_HOME_PHONE | string |
None. |
|
| CEP_TC1_SECOND_PHONE | string |
None. |
|
| CEP_TC1_CELLUAR | string |
None. |
|
| CEP_TC2_NAME | string |
None. |
|
| CEP_TC2_HOME_PHONE | string |
None. |
|
| CEP_TC2_SECOND_PHONE | string |
None. |
|
| CEP_TC2_CELLUAR | string |
None. |
|
| CONFIRMATION_WINDOW | integer |
None. |
|
| IS_CONFIRMATION_SENT | integer |
None. |
|
| CONTRACT_ENG_XREF | Collection of CONTRACT_ENG_XREF |
None. |
|
| CONTRACT_OPS_ENG_XREF | Collection of CONTRACT_OPS_ENG_XREF |
None. |
|
| CONTRACT_RESIDENT_ENG_XREF | Collection of CONTRACT_RESIDENT_ENG_XREF |
None. |
|
| CONTRACT_USER_XREF | Collection of CONTRACT_USER_XREF |
None. |
|
| LANE_CLOSURE | Collection of LANE_CLOSURE |
None. |
|
| ROADWAYs | Collection of ROADWAY |
None. |
|
| opsids | Collection of string |
None. |
|
| residentengineerids | Collection of string |
None. |
|
| engineerids | Collection of string |
None. |
|
| userids | Collection of VW_CONTRACT_USER_XREF |
None. |
|
| roadwayids | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CONTRACT_ID": 1,
"CONTRACT_NUMBER": "sample string 2",
"CONTRACT_TITLE": "sample string 3",
"COMPANY_ID": 4,
"IS_ENABLE_APPROVAL": 5,
"CONTRACT_WORK_DESC": "sample string 6",
"SUBMITTED_BY_ID": "sample string 7",
"CERT_AUTH_NUMBER": "sample string 8",
"PE_NAME": "sample string 9",
"NJ_PE_LICENSE_NUMBER": "sample string 10",
"CONTRACT_START_DATE": "2026-02-04T07:31:36.9130061+00:00",
"CONTRACT_END_DATE": "2026-02-04T07:31:36.9130061+00:00",
"AUTO_CONFIRM_DAYS": 1,
"CONTACT_NAME": "sample string 13",
"CONTACT_PHONE": "sample string 14",
"CONTRACT_GUID": "f6c2e0b8-0f29-47df-bc44-1c95f47d36ab",
"CEP_PSUP_NAME": "sample string 16",
"CEP_PSUP_HOME_PHONE": "sample string 17",
"CEP_PSUP_SECOND_PHONE": "sample string 18",
"CEP_PSUP_CELLUAR": "sample string 19",
"CEP_ALT1_NAME": "sample string 20",
"CEP_ALT1_HOME_PHONE": "sample string 21",
"CEP_ALT1_SECOND_PHONE": "sample string 22",
"CEP_ALT1_CELLUAR": "sample string 23",
"CEP_TC1_NAME": "sample string 24",
"CEP_TC1_HOME_PHONE": "sample string 25",
"CEP_TC1_SECOND_PHONE": "sample string 26",
"CEP_TC1_CELLUAR": "sample string 27",
"CEP_TC2_NAME": "sample string 28",
"CEP_TC2_HOME_PHONE": "sample string 29",
"CEP_TC2_SECOND_PHONE": "sample string 30",
"CEP_TC2_CELLUAR": "sample string 31",
"CONFIRMATION_WINDOW": 32,
"IS_CONFIRMATION_SENT": 33,
"opsids": [
"sample string 1",
"sample string 2"
],
"residentengineerids": [
"sample string 1",
"sample string 2"
],
"engineerids": [
"sample string 1",
"sample string 2"
],
"userids": [
{
"CONTRACT_ID": 1,
"USER_ID": "sample string 2",
"UserName": "sample string 3"
},
{
"CONTRACT_ID": 1,
"USER_ID": "sample string 2",
"UserName": "sample string 3"
}
],
"roadwayids": [
1,
2
]
}
text/xml
Sample:
<CONTRACT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/njdotEF">
<AUTO_CONFIRM_DAYS>1</AUTO_CONFIRM_DAYS>
<CEP_ALT1_CELLUAR>sample string 23</CEP_ALT1_CELLUAR>
<CEP_ALT1_HOME_PHONE>sample string 21</CEP_ALT1_HOME_PHONE>
<CEP_ALT1_NAME>sample string 20</CEP_ALT1_NAME>
<CEP_ALT1_SECOND_PHONE>sample string 22</CEP_ALT1_SECOND_PHONE>
<CEP_PSUP_CELLUAR>sample string 19</CEP_PSUP_CELLUAR>
<CEP_PSUP_HOME_PHONE>sample string 17</CEP_PSUP_HOME_PHONE>
<CEP_PSUP_NAME>sample string 16</CEP_PSUP_NAME>
<CEP_PSUP_SECOND_PHONE>sample string 18</CEP_PSUP_SECOND_PHONE>
<CEP_TC1_CELLUAR>sample string 27</CEP_TC1_CELLUAR>
<CEP_TC1_HOME_PHONE>sample string 25</CEP_TC1_HOME_PHONE>
<CEP_TC1_NAME>sample string 24</CEP_TC1_NAME>
<CEP_TC1_SECOND_PHONE>sample string 26</CEP_TC1_SECOND_PHONE>
<CEP_TC2_CELLUAR>sample string 31</CEP_TC2_CELLUAR>
<CEP_TC2_HOME_PHONE>sample string 29</CEP_TC2_HOME_PHONE>
<CEP_TC2_NAME>sample string 28</CEP_TC2_NAME>
<CEP_TC2_SECOND_PHONE>sample string 30</CEP_TC2_SECOND_PHONE>
<CERT_AUTH_NUMBER>sample string 8</CERT_AUTH_NUMBER>
<COMPANY_ID>4</COMPANY_ID>
<CONFIRMATION_WINDOW>32</CONFIRMATION_WINDOW>
<CONTACT_NAME>sample string 13</CONTACT_NAME>
<CONTACT_PHONE>sample string 14</CONTACT_PHONE>
<CONTRACT_END_DATE>2026-02-04T07:31:36.9130061+00:00</CONTRACT_END_DATE>
<CONTRACT_GUID>f6c2e0b8-0f29-47df-bc44-1c95f47d36ab</CONTRACT_GUID>
<CONTRACT_ID>1</CONTRACT_ID>
<CONTRACT_NUMBER>sample string 2</CONTRACT_NUMBER>
<CONTRACT_START_DATE>2026-02-04T07:31:36.9130061+00:00</CONTRACT_START_DATE>
<CONTRACT_TITLE>sample string 3</CONTRACT_TITLE>
<CONTRACT_WORK_DESC>sample string 6</CONTRACT_WORK_DESC>
<IS_CONFIRMATION_SENT>33</IS_CONFIRMATION_SENT>
<IS_ENABLE_APPROVAL>5</IS_ENABLE_APPROVAL>
<NJ_PE_LICENSE_NUMBER>sample string 10</NJ_PE_LICENSE_NUMBER>
<PE_NAME>sample string 9</PE_NAME>
<SUBMITTED_BY_ID>sample string 7</SUBMITTED_BY_ID>
<engineerids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</engineerids>
<opsids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</opsids>
<residentengineerids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</residentengineerids>
<roadwayids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</roadwayids>
<userids>
<VW_CONTRACT_USER_XREF>
<CONTRACT_ID>1</CONTRACT_ID>
<USER_ID>sample string 2</USER_ID>
<UserName>sample string 3</UserName>
</VW_CONTRACT_USER_XREF>
<VW_CONTRACT_USER_XREF>
<CONTRACT_ID>1</CONTRACT_ID>
<USER_ID>sample string 2</USER_ID>
<UserName>sample string 3</UserName>
</VW_CONTRACT_USER_XREF>
</userids>
</CONTRACT>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.