Needio.Services

<back to all web services

GetKeyHolderLogListRequest

Requires Authentication
Required role:Approved
The following routes are available for this service:
All Verbs/Service/GetKeyHolderLogList
GetKeyHolderLogListRequest Parameters:
NameParameterData TypeRequiredDescription
KeyHolderLogIdqueryint?No
KeyHolderIdqueryint?No
UserAddressIdqueryint?No
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
GetKeyHolderLogListResponse Parameters:
NameParameterData TypeRequiredDescription
KeyHolderLogsformList<KeyHolderLogDto>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
KeyHolderLogDto Parameters:
NameParameterData TypeRequiredDescription
KeyHolderLogIdformintNo
HolderStateformServiceKeyHolderStateNo
KeyHolderIdformint?No
CreationAuditedBaseDto Parameters:
NameParameterData TypeRequiredDescription
CreatedOnformDateTimeNo
CreatedByformint?No
ServiceKeyHolderState Enum:
NameValue
AtHome0
AtOffice1
AtService2
Returned3
GetKeyHolderLogListResponse Parameters:
NameParameterData TypeRequiredDescription
KeyHolderLogsformList<KeyHolderLogDto>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 /Service/GetKeyHolderLogList HTTP/1.1 
Host: baseservices.needion.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetKeyHolderLogListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2">
  <APIKey>String</APIKey>
  <DeviceUUID>String</DeviceUUID>
  <KeyHolderId>0</KeyHolderId>
  <KeyHolderLogId>0</KeyHolderLogId>
  <UserAddressId>0</UserAddressId>
</GetKeyHolderLogListRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetKeyHolderLogListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2">
  <Error>
    <ErrorCode>String</ErrorCode>
    <ErrorDescription>String</ErrorDescription>
    <ErrorYn>false</ErrorYn>
  </Error>
  <PageInfo>
    <CurrentPage>0</CurrentPage>
    <TotalPageCount>0</TotalPageCount>
    <TotalRecordCount>0</TotalRecordCount>
  </PageInfo>
  <ResMessage>String</ResMessage>
  <Result>false</Result>
  <KeyHolderLogs xmlns:d2p1="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2.Models.Services">
    <d2p1:KeyHolderLogDto>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2.Models.Interfaces">0</CreatedBy>
      <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.v2.Models.Interfaces">0001-01-01T00:00:00</CreatedOn>
      <d2p1:HolderState>AtHome</d2p1:HolderState>
      <d2p1:KeyHolderId>0</d2p1:KeyHolderId>
      <d2p1:KeyHolderLogId>0</d2p1:KeyHolderLogId>
    </d2p1:KeyHolderLogDto>
  </KeyHolderLogs>
</GetKeyHolderLogListResponse>