eQuipAPI

<back to all web services

GetLookupInformation

Returns lookup information like Sites, C-ICP RIC, ICP_RIC and DODAAC - DoDAAC of AF PM to Generate a Dlms 846R Transaction Set based on the specified Parts for inventory management; Requires a valid user to complete this request.

The following routes are available for this service:
GET/dlms/transactions/lookup/{UserID}/{TransactionRequestType}Returns lookup information like Sites, C-ICP RIC and DODAAC - DoDAAC of AF PM to Generate a Dlms 846R Transaction Set.
GetLookupInformation Parameters:
NameParameterData TypeRequiredDescription
UserIDqueryGuidYesThe UserID that authorizes the caller to complete the request. Contact your eQuip admin.
TransactionRequestTypequeryTransactionRequestTypeYesType of the transaction request type.; 1 for Generate a Dlms 846R Transaction Set; 2 for Generate 846P EOD Transaction Count.
LookupDto Parameters:
NameParameterData TypeRequiredDescription
SitesbodyList<Site>NoSites
C_ICP_RICbodystringNoC-ICP RIC
DODAAC_DoDAAC_of_AF_PMbodystringNoDODAAC - DoDAAC of AF PM
DoDAACCodebodystringNoDoDAAC Code
ICP_RICbodystringNoICP_RIC
Site Parameters:
NameParameterData TypeRequiredDescription
SiteCodebodystringNo
SiteDescriptionbodystringNo
SiteIDInternalbodystringNo
SiteNamebodystringNo
CreatedBybodyint?No
CreatedDatebodyDateTime?No
UpdatedBybodyint?No
UpdatedDatebodyDateTime?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/GetLookupInformation HTTP/1.1 
Host: equipstage3.e-isg.com 
Content-Type: application/xml
Content-Length: length

<GetLookupInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel.Dlms.Transactions">
  <TransactionRequestType>_846R</TransactionRequestType>
  <UserID>String</UserID>
</GetLookupInformation>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<LookupDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel.Dto">
  <C_ICP_RIC>String</C_ICP_RIC>
  <DODAAC_DoDAAC_of_AF_PM>String</DODAAC_DoDAAC_of_AF_PM>
  <DoDAACCode>String</DoDAACCode>
  <ICP_RIC>String</ICP_RIC>
  <Sites xmlns:d2p1="http://schemas.datacontract.org/2004/07/eQuipLib">
    <d2p1:Site>
      <d2p1:_DoDAACCode>String</d2p1:_DoDAACCode>
      <d2p1:_IsInternal>false</d2p1:_IsInternal>
      <d2p1:_ProviderName>String</d2p1:_ProviderName>
      <d2p1:_SiteCode>String</d2p1:_SiteCode>
      <d2p1:_SiteDescription>String</d2p1:_SiteDescription>
      <d2p1:_SiteID>0</d2p1:_SiteID>
      <d2p1:_SiteName>String</d2p1:_SiteName>
      <d2p1:_createdBy>0</d2p1:_createdBy>
      <d2p1:_createdDate>0001-01-01T00:00:00</d2p1:_createdDate>
      <d2p1:_customerID>0</d2p1:_customerID>
      <d2p1:_strConnection>String</d2p1:_strConnection>
      <d2p1:_updatedBy>0</d2p1:_updatedBy>
      <d2p1:_updatedDate>0001-01-01T00:00:00</d2p1:_updatedDate>
    </d2p1:Site>
  </Sites>
</LookupDto>