ProjectAndTaskService


Click here for a complete list of operations.

GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdList

Gets an array of IntegrationExternalObject records, for a specific object map, setup in Project Insight. The external object holds the cross reference of Project Insight objects by ID to an external Identification. Use this method to get objects to lookup the Project Insight Id (or the inverse) of items using an external Id.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /projectandtaskservice.asmx HTTP/1.1
Host: webservices.projectinsight.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservices.projectinsight.net/GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdList"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdList xmlns="http://webservices.projectinsight.net">
      <sessionKey>string</sessionKey>
      <domainIntegrationDefinitionObjectMapIdString>string</domainIntegrationDefinitionObjectMapIdString>
      <projectInsightIds>string</projectInsightIds>
      <externalIds>string</externalIds>
    </GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdList>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdListResponse xmlns="http://webservices.projectinsight.net">
      <GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdListResult>
        <IntegrationExternalObject>
          <Id>guid</Id>
          <DomainIntegrationDefinitionObjectMap_Id>guid</DomainIntegrationDefinitionObjectMap_Id>
          <ProjectInsightId>guid</ProjectInsightId>
          <ExternalObjectId>string</ExternalObjectId>
          <Name>string</Name>
          <Description>string</Description>
          <ExternalURL>string</ExternalURL>
          <IsDisplayIFrame>boolean</IsDisplayIFrame>
          <IFrameHeight>int</IFrameHeight>
        </IntegrationExternalObject>
        <IntegrationExternalObject>
          <Id>guid</Id>
          <DomainIntegrationDefinitionObjectMap_Id>guid</DomainIntegrationDefinitionObjectMap_Id>
          <ProjectInsightId>guid</ProjectInsightId>
          <ExternalObjectId>string</ExternalObjectId>
          <Name>string</Name>
          <Description>string</Description>
          <ExternalURL>string</ExternalURL>
          <IsDisplayIFrame>boolean</IsDisplayIFrame>
          <IFrameHeight>int</IFrameHeight>
        </IntegrationExternalObject>
      </GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdListResult>
    </GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdListResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /projectandtaskservice.asmx HTTP/1.1
Host: webservices.projectinsight.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdList xmlns="http://webservices.projectinsight.net">
      <sessionKey>string</sessionKey>
      <domainIntegrationDefinitionObjectMapIdString>string</domainIntegrationDefinitionObjectMapIdString>
      <projectInsightIds>string</projectInsightIds>
      <externalIds>string</externalIds>
    </GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdList>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdListResponse xmlns="http://webservices.projectinsight.net">
      <GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdListResult>
        <IntegrationExternalObject>
          <Id>guid</Id>
          <DomainIntegrationDefinitionObjectMap_Id>guid</DomainIntegrationDefinitionObjectMap_Id>
          <ProjectInsightId>guid</ProjectInsightId>
          <ExternalObjectId>string</ExternalObjectId>
          <Name>string</Name>
          <Description>string</Description>
          <ExternalURL>string</ExternalURL>
          <IsDisplayIFrame>boolean</IsDisplayIFrame>
          <IFrameHeight>int</IFrameHeight>
        </IntegrationExternalObject>
        <IntegrationExternalObject>
          <Id>guid</Id>
          <DomainIntegrationDefinitionObjectMap_Id>guid</DomainIntegrationDefinitionObjectMap_Id>
          <ProjectInsightId>guid</ProjectInsightId>
          <ExternalObjectId>string</ExternalObjectId>
          <Name>string</Name>
          <Description>string</Description>
          <ExternalURL>string</ExternalURL>
          <IsDisplayIFrame>boolean</IsDisplayIFrame>
          <IFrameHeight>int</IFrameHeight>
        </IntegrationExternalObject>
      </GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdListResult>
    </GetIntegrationExternalObjectsByProjectInsightIdListOrExternalIdListResponse>
  </soap12:Body>
</soap12:Envelope>