POST api/user/inspections?userId={userId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | globally unique identifier |
Required |
Body Parameters
Inspection| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Description | string |
None. |
|
| TypeId | integer |
None. |
|
| CategoryId | integer |
None. |
|
| DateIssued | date |
None. |
|
| DateScheduled | date |
None. |
|
| DateDeadline | date |
None. |
|
| DateCompleted | date |
None. |
|
| DateApproved | date |
None. |
|
| IssuedBy | string |
None. |
|
| ScheduledFor | string |
None. |
|
| PerformedBy | string |
None. |
|
| ApprovedBy | string |
None. |
|
| ElementId | integer |
None. |
|
| Comment | string |
None. |
|
| EndDate | date |
None. |
|
| BCIAvg | decimal number |
None. |
|
| BCICrit | decimal number |
None. |
|
| InspectorConclussion | string |
None. |
|
| BridgeId | integer |
None. |
|
| InspectionStateId | integer |
None. |
|
| Rejected | boolean |
None. |
|
| Level2DateApproved | date |
None. |
|
| Level2ApprovedBy | string |
None. |
|
| Level2Comment | string |
None. |
|
| InspectorRecommendation | string |
None. |
|
| AccessProcedure | string |
None. |
|
| AreasNotInspected | string |
None. |
|
| RejectedBy | string |
None. |
|
| Level2RejectedBy | string |
None. |
|
| TrafficManagement | string |
None. |
|
| WeatherID | integer |
None. |
|
| Id | integer |
None. |
|
| UpdatedAt | date |
None. |
|
| MajorVersion | integer |
None. |
|
| MinorVersion | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Description": "sample string 2",
"TypeId": 1,
"CategoryId": 1,
"DateIssued": "2025-11-08T12:09:45.8204117+00:00",
"DateScheduled": "2025-11-08T12:09:45.8204117+00:00",
"DateDeadline": "2025-11-08T12:09:45.8204117+00:00",
"DateCompleted": "2025-11-08T12:09:45.8204117+00:00",
"DateApproved": "2025-11-08T12:09:45.8204117+00:00",
"IssuedBy": "sample string 3",
"ScheduledFor": "sample string 4",
"PerformedBy": "sample string 5",
"ApprovedBy": "sample string 6",
"ElementId": 1,
"Comment": "sample string 7",
"EndDate": "2025-11-08T12:09:45.8204117+00:00",
"BCIAvg": 1.1,
"BCICrit": 1.1,
"InspectorConclussion": "sample string 8",
"BridgeId": 1,
"InspectionStateId": 1,
"Rejected": true,
"Level2DateApproved": "2025-11-08T12:09:45.8204117+00:00",
"Level2ApprovedBy": "sample string 10",
"Level2Comment": "sample string 11",
"InspectorRecommendation": "sample string 12",
"AccessProcedure": "sample string 13",
"AreasNotInspected": "sample string 14",
"RejectedBy": "sample string 15",
"Level2RejectedBy": "sample string 16",
"TrafficManagement": "sample string 17",
"WeatherID": 1,
"Id": 18,
"UpdatedAt": "2025-11-08T12:09:45.8204117Z",
"MajorVersion": 1,
"MinorVersion": 1
}
application/xml, text/xml
Sample:
<Inspection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Api.DataModels"> <MajorVersion>1</MajorVersion> <MinorVersion>1</MinorVersion> <UpdatedAt>2025-11-08T12:09:45.8204117Z</UpdatedAt> <Id>18</Id> <AccessProcedure>sample string 13</AccessProcedure> <ApprovedBy>sample string 6</ApprovedBy> <AreasNotInspected>sample string 14</AreasNotInspected> <BCIAvg>1.1</BCIAvg> <BCICrit>1.1</BCICrit> <BridgeId>1</BridgeId> <CategoryId>1</CategoryId> <Comment>sample string 7</Comment> <DateApproved>2025-11-08T12:09:45.8204117+00:00</DateApproved> <DateCompleted>2025-11-08T12:09:45.8204117+00:00</DateCompleted> <DateDeadline>2025-11-08T12:09:45.8204117+00:00</DateDeadline> <DateIssued>2025-11-08T12:09:45.8204117+00:00</DateIssued> <DateScheduled>2025-11-08T12:09:45.8204117+00:00</DateScheduled> <Description>sample string 2</Description> <ElementId>1</ElementId> <EndDate>2025-11-08T12:09:45.8204117+00:00</EndDate> <InspectionStateId>1</InspectionStateId> <InspectorConclussion>sample string 8</InspectorConclussion> <InspectorRecommendation>sample string 12</InspectorRecommendation> <IssuedBy>sample string 3</IssuedBy> <Level2ApprovedBy>sample string 10</Level2ApprovedBy> <Level2Comment>sample string 11</Level2Comment> <Level2DateApproved>2025-11-08T12:09:45.8204117+00:00</Level2DateApproved> <Level2RejectedBy>sample string 16</Level2RejectedBy> <Name>sample string 1</Name> <PerformedBy>sample string 5</PerformedBy> <Rejected>true</Rejected> <RejectedBy>sample string 15</RejectedBy> <ScheduledFor>sample string 4</ScheduledFor> <TrafficManagement>sample string 17</TrafficManagement> <TypeId>1</TypeId> <WeatherID>1</WeatherID> </Inspection>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Inspection| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Description | string |
None. |
|
| TypeId | integer |
None. |
|
| CategoryId | integer |
None. |
|
| DateIssued | date |
None. |
|
| DateScheduled | date |
None. |
|
| DateDeadline | date |
None. |
|
| DateCompleted | date |
None. |
|
| DateApproved | date |
None. |
|
| IssuedBy | string |
None. |
|
| ScheduledFor | string |
None. |
|
| PerformedBy | string |
None. |
|
| ApprovedBy | string |
None. |
|
| ElementId | integer |
None. |
|
| Comment | string |
None. |
|
| EndDate | date |
None. |
|
| BCIAvg | decimal number |
None. |
|
| BCICrit | decimal number |
None. |
|
| InspectorConclussion | string |
None. |
|
| BridgeId | integer |
None. |
|
| InspectionStateId | integer |
None. |
|
| Rejected | boolean |
None. |
|
| Level2DateApproved | date |
None. |
|
| Level2ApprovedBy | string |
None. |
|
| Level2Comment | string |
None. |
|
| InspectorRecommendation | string |
None. |
|
| AccessProcedure | string |
None. |
|
| AreasNotInspected | string |
None. |
|
| RejectedBy | string |
None. |
|
| Level2RejectedBy | string |
None. |
|
| TrafficManagement | string |
None. |
|
| WeatherID | integer |
None. |
|
| Id | integer |
None. |
|
| UpdatedAt | date |
None. |
|
| MajorVersion | integer |
None. |
|
| MinorVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Description": "sample string 2",
"TypeId": 1,
"CategoryId": 1,
"DateIssued": "2025-11-08T12:09:45.8204117+00:00",
"DateScheduled": "2025-11-08T12:09:45.8204117+00:00",
"DateDeadline": "2025-11-08T12:09:45.8204117+00:00",
"DateCompleted": "2025-11-08T12:09:45.8204117+00:00",
"DateApproved": "2025-11-08T12:09:45.8204117+00:00",
"IssuedBy": "sample string 3",
"ScheduledFor": "sample string 4",
"PerformedBy": "sample string 5",
"ApprovedBy": "sample string 6",
"ElementId": 1,
"Comment": "sample string 7",
"EndDate": "2025-11-08T12:09:45.8204117+00:00",
"BCIAvg": 1.1,
"BCICrit": 1.1,
"InspectorConclussion": "sample string 8",
"BridgeId": 1,
"InspectionStateId": 1,
"Rejected": true,
"Level2DateApproved": "2025-11-08T12:09:45.8204117+00:00",
"Level2ApprovedBy": "sample string 10",
"Level2Comment": "sample string 11",
"InspectorRecommendation": "sample string 12",
"AccessProcedure": "sample string 13",
"AreasNotInspected": "sample string 14",
"RejectedBy": "sample string 15",
"Level2RejectedBy": "sample string 16",
"TrafficManagement": "sample string 17",
"WeatherID": 1,
"Id": 18,
"UpdatedAt": "2025-11-08T12:09:45.8204117Z",
"MajorVersion": 1,
"MinorVersion": 1
}
application/xml, text/xml
Sample:
<Inspection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Api.DataModels"> <MajorVersion>1</MajorVersion> <MinorVersion>1</MinorVersion> <UpdatedAt>2025-11-08T12:09:45.8204117Z</UpdatedAt> <Id>18</Id> <AccessProcedure>sample string 13</AccessProcedure> <ApprovedBy>sample string 6</ApprovedBy> <AreasNotInspected>sample string 14</AreasNotInspected> <BCIAvg>1.1</BCIAvg> <BCICrit>1.1</BCICrit> <BridgeId>1</BridgeId> <CategoryId>1</CategoryId> <Comment>sample string 7</Comment> <DateApproved>2025-11-08T12:09:45.8204117+00:00</DateApproved> <DateCompleted>2025-11-08T12:09:45.8204117+00:00</DateCompleted> <DateDeadline>2025-11-08T12:09:45.8204117+00:00</DateDeadline> <DateIssued>2025-11-08T12:09:45.8204117+00:00</DateIssued> <DateScheduled>2025-11-08T12:09:45.8204117+00:00</DateScheduled> <Description>sample string 2</Description> <ElementId>1</ElementId> <EndDate>2025-11-08T12:09:45.8204117+00:00</EndDate> <InspectionStateId>1</InspectionStateId> <InspectorConclussion>sample string 8</InspectorConclussion> <InspectorRecommendation>sample string 12</InspectorRecommendation> <IssuedBy>sample string 3</IssuedBy> <Level2ApprovedBy>sample string 10</Level2ApprovedBy> <Level2Comment>sample string 11</Level2Comment> <Level2DateApproved>2025-11-08T12:09:45.8204117+00:00</Level2DateApproved> <Level2RejectedBy>sample string 16</Level2RejectedBy> <Name>sample string 1</Name> <PerformedBy>sample string 5</PerformedBy> <Rejected>true</Rejected> <RejectedBy>sample string 15</RejectedBy> <ScheduledFor>sample string 4</ScheduledFor> <TrafficManagement>sample string 17</TrafficManagement> <TypeId>1</TypeId> <WeatherID>1</WeatherID> </Inspection>