POST api/Inspection
Request Information
URI Parameters
None.
Body Parameters
InspectionPostModelName | Description | Type | Additional information |
---|---|---|---|
Guid | globally unique identifier |
None. |
|
WarrantyGuid | globally unique identifier |
None. |
|
UserGuid | globally unique identifier |
None. |
|
IsSubmitted | boolean |
None. |
|
Weather | Weather |
None. |
|
Temperature | decimal number |
None. |
|
InspectionDate | date |
None. |
|
SubstantialCompletionDate | date |
None. |
|
IsFinalInspection | boolean |
None. |
|
ObsAndActionItems | string |
None. |
|
ActionItemsTakenCareOf | boolean |
None. |
|
WarrantyType | WarrantyType |
None. |
|
PondingConditionsNoted | boolean |
None. |
|
FinalInspectionResultGuid | globally unique identifier |
None. |
|
FinalInspectionScoreGuid | globally unique identifier |
None. |
|
ActionItemsCompleteGuid | globally unique identifier |
None. |
|
OverburdenTypeGuid | globally unique identifier |
None. |
|
SignatureText | string |
None. |
|
ObservationsAcknowledged | boolean |
None. |
|
PhotoCount | integer |
None. |
|
HasNonSopremaProducts | boolean |
None. |
|
Photos | Collection of Photo |
None. |
|
PunchListItems | Collection of PunchListItem |
None. |
|
AboveRoofPunchListItems | Collection of PunchListItem |
None. |
|
NonSopremaProducts | Collection of NonSopremaProductModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Guid": "07f78d5b-aecc-4e10-94f5-4abed6416444", "WarrantyGuid": "98968c04-da8e-411e-86ac-6978ceed3928", "UserGuid": "2f909e1f-dbde-46fe-8ad7-9e87eeff6ead", "IsSubmitted": true, "Weather": { "WeatherGuid": "622d0b9f-df84-4317-b659-788679c907d4", "Name": "sample string 1" }, "Temperature": 5.1, "InspectionDate": "2025-08-30T19:22:22.0098367+00:00", "SubstantialCompletionDate": "2025-08-30T19:22:22.0098367+00:00", "IsFinalInspection": true, "ObsAndActionItems": "sample string 7", "ActionItemsTakenCareOf": true, "WarrantyType": { "WarrantyTypeID": 1, "WarrantyPeriod": "sample string 2" }, "PondingConditionsNoted": true, "FinalInspectionResultGuid": "6aa7c732-0ce4-4ec4-bd9a-60eacd6d8b62", "FinalInspectionScoreGuid": "3d2ee6c2-16e8-4dd9-a8a9-3bf429f32485", "ActionItemsCompleteGuid": "a3e4e908-c24c-4b6f-ac56-01efd34444af", "OverburdenTypeGuid": "e67166e5-180f-4da3-a1a9-390b235b8cf2", "SignatureText": "sample string 10", "ObservationsAcknowledged": true, "PhotoCount": 12, "HasNonSopremaProducts": true, "Photos": [ { "PhotoID": 1, "PhotoGuid": "c68ea6e2-9f60-425c-aca4-329524c82953", "Description": "sample string 3", "IsSignature": true, "Path": "sample string 5", "RecordStatus": "sample string 6" }, { "PhotoID": 1, "PhotoGuid": "c68ea6e2-9f60-425c-aca4-329524c82953", "Description": "sample string 3", "IsSignature": true, "Path": "sample string 5", "RecordStatus": "sample string 6" } ], "PunchListItems": [ { "Id": 1, "Guid": "01b26188-3935-4251-9f06-5d45d5541164", "Comments": "sample string 3", "Description": "sample string 4", "RecordStatus": "sample string 5" }, { "Id": 1, "Guid": "01b26188-3935-4251-9f06-5d45d5541164", "Comments": "sample string 3", "Description": "sample string 4", "RecordStatus": "sample string 5" } ], "AboveRoofPunchListItems": [ { "Id": 1, "Guid": "01b26188-3935-4251-9f06-5d45d5541164", "Comments": "sample string 3", "Description": "sample string 4", "RecordStatus": "sample string 5" }, { "Id": 1, "Guid": "01b26188-3935-4251-9f06-5d45d5541164", "Comments": "sample string 3", "Description": "sample string 4", "RecordStatus": "sample string 5" } ], "NonSopremaProducts": [ { "Id": 1, "InspectionGuid": "61bd2d5a-db40-4a7f-b9e0-2252bd34c593", "CategoryId": 1, "CategoryName": "sample string 3", "ProductDescription": "sample string 4" }, { "Id": 1, "InspectionGuid": "61bd2d5a-db40-4a7f-b9e0-2252bd34c593", "CategoryId": 1, "CategoryName": "sample string 3", "ProductDescription": "sample string 4" } ] }
application/xml, text/xml
Sample:
<InspectionPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Soprema.Inspector.WebApi.Models"> <AboveRoofPunchListItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/Soprema.BLL.Models.Warranties"> <d2p1:PunchListItem> <d2p1:Comments>sample string 3</d2p1:Comments> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:Guid>01b26188-3935-4251-9f06-5d45d5541164</d2p1:Guid> <d2p1:Id>1</d2p1:Id> <d2p1:RecordStatus>sample string 5</d2p1:RecordStatus> </d2p1:PunchListItem> <d2p1:PunchListItem> <d2p1:Comments>sample string 3</d2p1:Comments> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:Guid>01b26188-3935-4251-9f06-5d45d5541164</d2p1:Guid> <d2p1:Id>1</d2p1:Id> <d2p1:RecordStatus>sample string 5</d2p1:RecordStatus> </d2p1:PunchListItem> </AboveRoofPunchListItems> <ActionItemsCompleteGuid>a3e4e908-c24c-4b6f-ac56-01efd34444af</ActionItemsCompleteGuid> <ActionItemsTakenCareOf>true</ActionItemsTakenCareOf> <FinalInspectionResultGuid>6aa7c732-0ce4-4ec4-bd9a-60eacd6d8b62</FinalInspectionResultGuid> <FinalInspectionScoreGuid>3d2ee6c2-16e8-4dd9-a8a9-3bf429f32485</FinalInspectionScoreGuid> <Guid>07f78d5b-aecc-4e10-94f5-4abed6416444</Guid> <HasNonSopremaProducts>true</HasNonSopremaProducts> <InspectionDate>2025-08-30T19:22:22.0098367+00:00</InspectionDate> <IsFinalInspection>true</IsFinalInspection> <IsSubmitted>true</IsSubmitted> <NonSopremaProducts> <NonSopremaProductModel> <CategoryId>1</CategoryId> <CategoryName>sample string 3</CategoryName> <Id>1</Id> <InspectionGuid>61bd2d5a-db40-4a7f-b9e0-2252bd34c593</InspectionGuid> <ProductDescription>sample string 4</ProductDescription> </NonSopremaProductModel> <NonSopremaProductModel> <CategoryId>1</CategoryId> <CategoryName>sample string 3</CategoryName> <Id>1</Id> <InspectionGuid>61bd2d5a-db40-4a7f-b9e0-2252bd34c593</InspectionGuid> <ProductDescription>sample string 4</ProductDescription> </NonSopremaProductModel> </NonSopremaProducts> <ObsAndActionItems>sample string 7</ObsAndActionItems> <ObservationsAcknowledged>true</ObservationsAcknowledged> <OverburdenTypeGuid>e67166e5-180f-4da3-a1a9-390b235b8cf2</OverburdenTypeGuid> <PhotoCount>12</PhotoCount> <Photos xmlns:d2p1="http://schemas.datacontract.org/2004/07/Soprema.BLL.Models.Warranties"> <d2p1:Photo> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:IsSignature>true</d2p1:IsSignature> <d2p1:Path>sample string 5</d2p1:Path> <d2p1:PhotoGuid>c68ea6e2-9f60-425c-aca4-329524c82953</d2p1:PhotoGuid> <d2p1:PhotoID>1</d2p1:PhotoID> <d2p1:RecordStatus>sample string 6</d2p1:RecordStatus> </d2p1:Photo> <d2p1:Photo> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:IsSignature>true</d2p1:IsSignature> <d2p1:Path>sample string 5</d2p1:Path> <d2p1:PhotoGuid>c68ea6e2-9f60-425c-aca4-329524c82953</d2p1:PhotoGuid> <d2p1:PhotoID>1</d2p1:PhotoID> <d2p1:RecordStatus>sample string 6</d2p1:RecordStatus> </d2p1:Photo> </Photos> <PondingConditionsNoted>true</PondingConditionsNoted> <PunchListItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/Soprema.BLL.Models.Warranties"> <d2p1:PunchListItem> <d2p1:Comments>sample string 3</d2p1:Comments> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:Guid>01b26188-3935-4251-9f06-5d45d5541164</d2p1:Guid> <d2p1:Id>1</d2p1:Id> <d2p1:RecordStatus>sample string 5</d2p1:RecordStatus> </d2p1:PunchListItem> <d2p1:PunchListItem> <d2p1:Comments>sample string 3</d2p1:Comments> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:Guid>01b26188-3935-4251-9f06-5d45d5541164</d2p1:Guid> <d2p1:Id>1</d2p1:Id> <d2p1:RecordStatus>sample string 5</d2p1:RecordStatus> </d2p1:PunchListItem> </PunchListItems> <SignatureText>sample string 10</SignatureText> <SubstantialCompletionDate>2025-08-30T19:22:22.0098367+00:00</SubstantialCompletionDate> <Temperature>5.1</Temperature> <UserGuid>2f909e1f-dbde-46fe-8ad7-9e87eeff6ead</UserGuid> <WarrantyGuid>98968c04-da8e-411e-86ac-6978ceed3928</WarrantyGuid> <WarrantyType xmlns:d2p1="http://schemas.datacontract.org/2004/07/Soprema.BLL.Models.Warranties"> <d2p1:WarrantyPeriod>sample string 2</d2p1:WarrantyPeriod> <d2p1:WarrantyTypeID>1</d2p1:WarrantyTypeID> </WarrantyType> <Weather xmlns:d2p1="http://schemas.datacontract.org/2004/07/Soprema.BLL.Models.Warranties"> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:WeatherGuid>622d0b9f-df84-4317-b659-788679c907d4</d2p1:WeatherGuid> </Weather> </InspectionPostModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
InspectionModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Guid | globally unique identifier |
None. |
|
WarrantyGuid | globally unique identifier |
None. |
|
Date | date |
None. |
|
Temperature | decimal number |
None. |
|
Weather | Weather |
None. |
|
OverBurdenType | string |
None. |
|
OverburdenTypeGuid | globally unique identifier |
None. |
|
WarrantyType | string |
None. |
|
WarrantyYears | string |
None. |
|
SubstantialCompletionDate | date |
None. |
|
PreviousItemsWereAddressed | boolean |
None. |
|
PondingConditionWasNoted | boolean |
None. |
|
Observations | string |
None. |
|
FinalInspectionResult | string |
None. |
|
FinalInspectionResultGuid | globally unique identifier |
None. |
|
ActionItemsComplete | string |
None. |
|
WarrantyPunchList | Collection of PunchListItem |
None. |
|
OverBurdenPunchList | Collection of PunchListItem |
None. |
|
SignatureText | string |
None. |
|
Inspector | UserModel |
None. |
|
ObservationsAcknowledged | boolean |
None. |
|
Status | string |
None. |
|
IsSubmitted | boolean |
None. |
|
InspectionType | string |
None. |
|
IsFinalInspection | boolean |
None. |
|
PhotoCount | integer |
None. |
|
Photos | Collection of PhotoModel |
None. |
|
HasNonSopremaProducts | boolean |
None. |
|
NonSopremaProducts | Collection of NonSopremaProductModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Guid": "1252a4cb-44cc-45b6-b9f2-4412dd0c65c5", "WarrantyGuid": "f5f50256-08c4-4258-a1ff-6f77b1b21a6b", "Date": "2025-08-30T19:22:22.3223446+00:00", "Temperature": 5.1, "Weather": { "WeatherGuid": "1ff7cb19-93af-4009-897c-ce0a088ed0ba", "Name": "sample string 1" }, "OverBurdenType": "sample string 6", "OverburdenTypeGuid": "c4bf4f48-bde8-459d-85a8-6c6581db9ed0", "WarrantyType": "sample string 7", "WarrantyYears": "sample string 8", "SubstantialCompletionDate": "2025-08-30T19:22:22.3223446+00:00", "PreviousItemsWereAddressed": true, "PondingConditionWasNoted": true, "Observations": "sample string 9", "FinalInspectionResult": "sample string 10", "FinalInspectionResultGuid": "e75ff4c6-6ba1-4e83-8c82-21f1ab837092", "ActionItemsComplete": "sample string 11", "WarrantyPunchList": [ { "Id": 1, "Guid": "32d126fb-34f0-48d4-9d63-45cc07560c08", "Comments": "sample string 3", "Description": "sample string 4", "RecordStatus": "sample string 5" }, { "Id": 1, "Guid": "32d126fb-34f0-48d4-9d63-45cc07560c08", "Comments": "sample string 3", "Description": "sample string 4", "RecordStatus": "sample string 5" } ], "OverBurdenPunchList": [ { "Id": 1, "Guid": "32d126fb-34f0-48d4-9d63-45cc07560c08", "Comments": "sample string 3", "Description": "sample string 4", "RecordStatus": "sample string 5" }, { "Id": 1, "Guid": "32d126fb-34f0-48d4-9d63-45cc07560c08", "Comments": "sample string 3", "Description": "sample string 4", "RecordStatus": "sample string 5" } ], "SignatureText": "sample string 12", "Inspector": { "Id": 1, "Guid": "96cad743-c576-4ed0-92a2-bc181181b632", "Email": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "FullName": "sample string 4 sample string 5" }, "ObservationsAcknowledged": true, "Status": "Submitted", "IsSubmitted": true, "InspectionType": "FINAL", "IsFinalInspection": true, "PhotoCount": 16, "Photos": [ { "Id": 1, "Guid": "ce7f0138-10de-4dec-a882-e8fcf21536be", "Description": "sample string 3", "IsSignature": true, "FileName": "sample string 5", "Url": "http://webapihelppage6.com" }, { "Id": 1, "Guid": "ce7f0138-10de-4dec-a882-e8fcf21536be", "Description": "sample string 3", "IsSignature": true, "FileName": "sample string 5", "Url": "http://webapihelppage6.com" } ], "HasNonSopremaProducts": true, "NonSopremaProducts": [ { "Id": 1, "InspectionGuid": "c7fb64fa-f520-4e91-9e40-e7a1d5be05de", "CategoryId": 1, "CategoryName": "sample string 3", "ProductDescription": "sample string 4" }, { "Id": 1, "InspectionGuid": "c7fb64fa-f520-4e91-9e40-e7a1d5be05de", "CategoryId": 1, "CategoryName": "sample string 3", "ProductDescription": "sample string 4" } ] }
application/xml, text/xml
Sample:
<InspectionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Soprema.Inspector.WebApi.Models"> <ActionItemsComplete>sample string 11</ActionItemsComplete> <Date>2025-08-30T19:22:22.3223446+00:00</Date> <FinalInspectionResult>sample string 10</FinalInspectionResult> <FinalInspectionResultGuid>e75ff4c6-6ba1-4e83-8c82-21f1ab837092</FinalInspectionResultGuid> <Guid>1252a4cb-44cc-45b6-b9f2-4412dd0c65c5</Guid> <HasNonSopremaProducts>true</HasNonSopremaProducts> <Id>1</Id> <Inspector> <FirstName>sample string 4</FirstName> <LastName>sample string 5</LastName> <Email>sample string 3</Email> <Guid>96cad743-c576-4ed0-92a2-bc181181b632</Guid> <Id>1</Id> </Inspector> <IsFinalInspection>true</IsFinalInspection> <IsSubmitted>true</IsSubmitted> <NonSopremaProducts> <NonSopremaProductModel> <CategoryId>1</CategoryId> <CategoryName>sample string 3</CategoryName> <Id>1</Id> <InspectionGuid>c7fb64fa-f520-4e91-9e40-e7a1d5be05de</InspectionGuid> <ProductDescription>sample string 4</ProductDescription> </NonSopremaProductModel> <NonSopremaProductModel> <CategoryId>1</CategoryId> <CategoryName>sample string 3</CategoryName> <Id>1</Id> <InspectionGuid>c7fb64fa-f520-4e91-9e40-e7a1d5be05de</InspectionGuid> <ProductDescription>sample string 4</ProductDescription> </NonSopremaProductModel> </NonSopremaProducts> <Observations>sample string 9</Observations> <ObservationsAcknowledged>true</ObservationsAcknowledged> <OverBurdenPunchList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Soprema.BLL.Models.Warranties"> <d2p1:PunchListItem> <d2p1:Comments>sample string 3</d2p1:Comments> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:Guid>32d126fb-34f0-48d4-9d63-45cc07560c08</d2p1:Guid> <d2p1:Id>1</d2p1:Id> <d2p1:RecordStatus>sample string 5</d2p1:RecordStatus> </d2p1:PunchListItem> <d2p1:PunchListItem> <d2p1:Comments>sample string 3</d2p1:Comments> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:Guid>32d126fb-34f0-48d4-9d63-45cc07560c08</d2p1:Guid> <d2p1:Id>1</d2p1:Id> <d2p1:RecordStatus>sample string 5</d2p1:RecordStatus> </d2p1:PunchListItem> </OverBurdenPunchList> <OverBurdenType>sample string 6</OverBurdenType> <OverburdenTypeGuid>c4bf4f48-bde8-459d-85a8-6c6581db9ed0</OverburdenTypeGuid> <PhotoCount>16</PhotoCount> <Photos> <PhotoModel> <Description>sample string 3</Description> <FileName>sample string 5</FileName> <Guid>ce7f0138-10de-4dec-a882-e8fcf21536be</Guid> <Id>1</Id> <IsSignature>true</IsSignature> <Url>http://webapihelppage6.com/</Url> </PhotoModel> <PhotoModel> <Description>sample string 3</Description> <FileName>sample string 5</FileName> <Guid>ce7f0138-10de-4dec-a882-e8fcf21536be</Guid> <Id>1</Id> <IsSignature>true</IsSignature> <Url>http://webapihelppage6.com/</Url> </PhotoModel> </Photos> <PondingConditionWasNoted>true</PondingConditionWasNoted> <PreviousItemsWereAddressed>true</PreviousItemsWereAddressed> <SignatureText>sample string 12</SignatureText> <SubstantialCompletionDate>2025-08-30T19:22:22.3223446+00:00</SubstantialCompletionDate> <Temperature>5.1</Temperature> <WarrantyGuid>f5f50256-08c4-4258-a1ff-6f77b1b21a6b</WarrantyGuid> <WarrantyPunchList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Soprema.BLL.Models.Warranties"> <d2p1:PunchListItem> <d2p1:Comments>sample string 3</d2p1:Comments> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:Guid>32d126fb-34f0-48d4-9d63-45cc07560c08</d2p1:Guid> <d2p1:Id>1</d2p1:Id> <d2p1:RecordStatus>sample string 5</d2p1:RecordStatus> </d2p1:PunchListItem> <d2p1:PunchListItem> <d2p1:Comments>sample string 3</d2p1:Comments> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:Guid>32d126fb-34f0-48d4-9d63-45cc07560c08</d2p1:Guid> <d2p1:Id>1</d2p1:Id> <d2p1:RecordStatus>sample string 5</d2p1:RecordStatus> </d2p1:PunchListItem> </WarrantyPunchList> <WarrantyType>sample string 7</WarrantyType> <WarrantyYears>sample string 8</WarrantyYears> <Weather xmlns:d2p1="http://schemas.datacontract.org/2004/07/Soprema.BLL.Models.Warranties"> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:WeatherGuid>1ff7cb19-93af-4009-897c-ce0a088ed0ba</d2p1:WeatherGuid> </Weather> </InspectionModel>