Touchstone 11.0 API Reference
CreateExposureViewRequest XML
Reference > Requests as XML > Requests > Project Management > CreateExposureViewRequest XML
CreateExposureViewRequest
Copy Code
<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:s="http://www.w3.org/2003/05/soap-envelope">
  <s:Header>
    <a:Action s:mustUnderstand="1">AIR.Services.ProjectManagementService.Api/IProjectManagementService/CreateExposureView</a:Action>
    <a:MessageID>urn:uuid:9e934684-0e02-4b71-a33f-c2cecf58a4d5</a:MessageID>
    <a:ReplyTo>
      <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
    </a:ReplyTo>
  </s:Header>
  <s:Body>
    <CreateExposureView xmlns="AIR.Services.ProjectManagementService.Api">
      <request xmlns:d4p1="AIR.Services.ProjectManagement.Api" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <BusinessUnitSid xmlns="AIR.Services.Common.Api">1</BusinessUnitSid>
        <LicenseUid xmlns="AIR.Services.Common.Api">00000000-0000-0000-0000-000000000000</LicenseUid>
        <Product i:nil="true" xmlns="AIR.Services.Common.Api" />
        <RequestUid xmlns="AIR.Services.Common.Api">00000000-0000-0000-0000-000000000000</RequestUid>
        <SqlInstanceSid xmlns="AIR.Services.Common.Api">1</SqlInstanceSid>
        <d4p1:ExposureView xmlns:d5p1="AIR.Services.ProjectManagement.Data">
          <d5p1:Author i:nil="true" />
          <d5p1:Created i:nil="true" />
          <d5p1:Description>Created by api</d5p1:Description>
          <d5p1:Details>
            <d5p1:ExposureViewDetail>
              <d5p1:ContractCount>0</d5p1:ContractCount>
              <d5p1:Default i:nil="true" />
              <d5p1:ExposureSet xmlns:d8p1="AIR.Services.Common.Exposure.Data">
                <d8p1:CompanySID i:nil="true" />
                <d8p1:Created i:nil="true" />
                <d8p1:DataSourceName i:nil="true" />
                <d8p1:DataSourceSid>2</d8p1:DataSourceSid>
                <d8p1:DataSourceStateCode>Active</d8p1:DataSourceStateCode>
                <d8p1:Description i:nil="true" />
                <d8p1:IsDataSourceUnregistered>false</d8p1:IsDataSourceUnregistered>
                <d8p1:Modified i:nil="true" />
                <d8p1:Name i:nil="true" />
                <d8p1:Sid>1</d8p1:Sid>
                <d8p1:StateCode>Active</d8p1:StateCode>
              </d5p1:ExposureSet>
              <d5p1:Sid>0</d5p1:Sid>
            </d5p1:ExposureViewDetail>
          </d5p1:Details>
          <d5p1:Filters xmlns:d6p1="AIR.Services.Common.Filter.Data">
            <d6p1:Filter>
              <d6p1:Created i:nil="true" />
              <d6p1:Expression i:type="d6p1:SimpleExpression">
                <d6p1:Tag i:nil="true" />
                <d6p1:AppliedEntity>Locations</d6p1:AppliedEntity>
                <d6p1:Operator>IsNotContainedIn</d6p1:Operator>
                <d6p1:PropertyName>AreaCode</d6p1:PropertyName>
                <d6p1:Value xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:type="d9p1:ArrayOfstring">
                  <d9p1:string>FL</d9p1:string>
                  <d9p1:string>LA</d9p1:string>
                </d6p1:Value>
              </d6p1:Expression>
              <d6p1:ExpressionSQL i:nil="true" />
              <d6p1:FilterType i:nil="true" />
              <d6p1:ID i:nil="true" />
              <d6p1:Intent>0</d6p1:Intent>
              <d6p1:Modified i:nil="true" />
              <d6p1:Name i:nil="true" />
            </d6p1:Filter>
          </d5p1:Filters>
          <d5p1:Modified i:nil="true" />
          <d5p1:Name>ApiExposureView - 334584554</d5p1:Name>
          <d5p1:ProjectSid i:nil="true" />
          <d5p1:Sid i:nil="true" />
          <d5p1:StateCode>Active</d5p1:StateCode>
        </d4p1:ExposureView>
        <d4p1:ProjectSid>2</d4p1:ProjectSid>
      </request>
    </CreateExposureView>
  </s:Body>
</s:Envelope>