GET api/General

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

GeneralModel
NameDescriptionTypeAdditional information
ActionItems

Collection of NameValueModel

None.

WeatherItems

Collection of NameValueModel

None.

WarrantyTypeItems

Collection of NameValueModel

None.

PunchListOptionItems

Collection of NameValueModel

None.

OverBurdenItems

Collection of NameValueModel

None.

FinalInspectionResultItems

Collection of NameValueModel

None.

ConditionsObservedItems

Collection of NameValueModel

None.

InvestigationStatusItems

Collection of NameValueModel

None.

InvestigationResultItems

Collection of NameValueModel

None.

NonSopremaProductCategoryItems

Collection of NameValueModel

None.

SiteVisitSettings

WarrantySiteVisitSettings

None.

Response Formats

application/json, text/json

Sample:
{
  "ActionItems": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    }
  ],
  "WeatherItems": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    }
  ],
  "WarrantyTypeItems": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    }
  ],
  "PunchListOptionItems": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    }
  ],
  "OverBurdenItems": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    }
  ],
  "FinalInspectionResultItems": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    }
  ],
  "ConditionsObservedItems": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    }
  ],
  "InvestigationStatusItems": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    }
  ],
  "InvestigationResultItems": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    }
  ],
  "NonSopremaProductCategoryItems": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "IsOther": true
    }
  ],
  "SiteVisitSettings": {
    "SendEmailOnComplete": true,
    "DisplayNonSopremaProductsSection": true,
    "SendNonSopremaProductsEmailOnSubmit": true,
    "SendNonSopremaProductsWeeklyEmail": true,
    "StorePdfInSiteVisitDocumentsOnComplete": true
  }
}

application/xml, text/xml

Sample:
<GeneralModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Soprema.Inspector.WebApi.Models">
  <ActionItems>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
  </ActionItems>
  <ConditionsObservedItems>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
  </ConditionsObservedItems>
  <FinalInspectionResultItems>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
  </FinalInspectionResultItems>
  <InvestigationResultItems>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
  </InvestigationResultItems>
  <InvestigationStatusItems>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
  </InvestigationStatusItems>
  <NonSopremaProductCategoryItems>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
  </NonSopremaProductCategoryItems>
  <OverBurdenItems>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
  </OverBurdenItems>
  <PunchListOptionItems>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
  </PunchListOptionItems>
  <SiteVisitSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/Soprema.DTO.BusinessUnitSettings">
    <d2p1:DisplayNonSopremaProductsSection>true</d2p1:DisplayNonSopremaProductsSection>
    <d2p1:SendEmailOnComplete>true</d2p1:SendEmailOnComplete>
    <d2p1:SendNonSopremaProductsEmailOnSubmit>true</d2p1:SendNonSopremaProductsEmailOnSubmit>
    <d2p1:SendNonSopremaProductsWeeklyEmail>true</d2p1:SendNonSopremaProductsWeeklyEmail>
    <d2p1:StorePdfInSiteVisitDocumentsOnComplete>true</d2p1:StorePdfInSiteVisitDocumentsOnComplete>
  </SiteVisitSettings>
  <WarrantyTypeItems>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
  </WarrantyTypeItems>
  <WeatherItems>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
    <NameValueModel>
      <IsOther>true</IsOther>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </NameValueModel>
  </WeatherItems>
</GeneralModel>