POST v1/xpresscollect/logactivity

Logs the activity data.

Request Information

URI Parameters

None.

Body Parameters

The new activity data.

XpressCollectActivity
NameDescriptionTypeAdditional information
Name

string

None.

TenantId

string

None.

FacilityId

globally unique identifier

None.

IPAddress

string

None.

SourceData

string

None.

EventData

string

None.

EventType

integer

None.

TransmitDateTime

date

None.

UnitName

string

None.

SentTo

string

None.

SentBy

string

None.

MessageContent

string

None.

DaysOverdue

integer

None.

AmountCollected

decimal number

None.

BalanceDue

decimal number

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "TenantId": "sample string 2",
  "FacilityId": "24191b2f-9823-429f-8f41-0b6cb434d817",
  "IPAddress": "sample string 4",
  "SourceData": "sample string 5",
  "EventData": "sample string 6",
  "EventType": 7,
  "TransmitDateTime": "2021-10-18T09:14:34.1814676-07:00",
  "UnitName": "sample string 9",
  "SentTo": "sample string 10",
  "SentBy": "sample string 11",
  "MessageContent": "sample string 12",
  "DaysOverdue": 1,
  "AmountCollected": 1.1,
  "BalanceDue": 1.1,
  "CreatedOn": "2021-10-18T09:14:34.1814676-07:00"
}

application/xml, text/xml

Sample:
<XpressCollectActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models.Messaging">
  <AmountCollected>1.1</AmountCollected>
  <BalanceDue>1.1</BalanceDue>
  <CreatedOn>2021-10-18T09:14:34.1814676-07:00</CreatedOn>
  <DaysOverdue>1</DaysOverdue>
  <EventData>sample string 6</EventData>
  <EventType>7</EventType>
  <FacilityId>24191b2f-9823-429f-8f41-0b6cb434d817</FacilityId>
  <IPAddress>sample string 4</IPAddress>
  <MessageContent>sample string 12</MessageContent>
  <Name>sample string 1</Name>
  <SentBy>sample string 11</SentBy>
  <SentTo>sample string 10</SentTo>
  <SourceData>sample string 5</SourceData>
  <TenantId>sample string 2</TenantId>
  <TransmitDateTime>2021-10-18T09:14:34.1814676-07:00</TransmitDateTime>
  <UnitName>sample string 9</UnitName>
</XpressCollectActivity>

Response Information

Resource Description

XpressCollectLogActivityDataResult
NameDescriptionTypeAdditional information
Errors

Collection of Exception

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Errors": [
    {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    },
    {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    }
  ],
  "IsSuccess": true
}

application/xml, text/xml

Sample:
<XpressCollectLogActivityDataResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models.BindingModels">
  <Errors xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:Exception>
      <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
      <Message i:nil="true" xmlns="" />
      <Data i:nil="true" xmlns="" />
      <InnerException i:nil="true" xmlns="" />
      <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
      <StackTraceString i:nil="true" xmlns="" />
      <RemoteStackTraceString i:nil="true" xmlns="" />
      <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
      <ExceptionMethod i:nil="true" xmlns="" />
      <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
      <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
      <WatsonBuckets i:nil="true" xmlns="" />
    </d2p1:Exception>
    <d2p1:Exception>
      <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
      <Message i:nil="true" xmlns="" />
      <Data i:nil="true" xmlns="" />
      <InnerException i:nil="true" xmlns="" />
      <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
      <StackTraceString i:nil="true" xmlns="" />
      <RemoteStackTraceString i:nil="true" xmlns="" />
      <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
      <ExceptionMethod i:nil="true" xmlns="" />
      <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
      <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
      <WatsonBuckets i:nil="true" xmlns="" />
    </d2p1:Exception>
  </Errors>
  <IsSuccess>true</IsSuccess>
</XpressCollectLogActivityDataResult>