AssignMessageToMe
Examples
MessagesClient client = new MessagesClient();
AssignMessageToMeResult result = client.AssignMessageToMe(new AssignMessageToMeRequest
{
MessageGuid = "412",
AssignToMe = true
});
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<soapenv:Body>
<urn:AssignMessageToMe>
<urn:assignMessageToMeRequest>
<urn:AssignToMe>true</urn:AssignToMe>
<urn:MessageGuid>412</urn:MessageGuid>
</urn:assignMessageToMeRequest>
</urn:AssignMessageToMe>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectAssignMessageToMeAssignMessageToMe-
assignMessageToMeRequest
Information for message assignment.ObjectAssignMessageToMeRequestAssign message to me request.-
AssignToMe Mandatory
Assign to me.bool -
MessageGuid Mandatory
Message GUID.string
-
-
Output
0 if message assignment is successful.
Error codes:
- 1 : error message from ARC server.
AssignMessageToMeResponse
-
AssignMessageToMeResult
Result of AssignMessageToMeObjectAssignMessageToMeResultAssign message to me result.-
Result
The result of the request. Indicating success or error.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
GetHandledMessages
Examples
MessagesClient client = new MessagesClient();
GetHandledMessagesResult result = client.GetHandledMessages(new GetHandledMessagesRequest
{
PageLength = 100,
PageNo = 1,
MessageFilter = new MessageFilter
{
MessageType = MessageType.All,
AssignedTo = "231",
CaseStatus = "caseStatus",
CaseNumber = "412",
CreditorName = "creditorName",
CreditorRefs = new CreditorRefs(){"ref1", "ref2", "ref3"},
DueDate = new DateTime(2019, 01, 02),
PostedAt = new DateTime(2019, 01, 01),
FirstInvoiceNumber = "123",
MainDebtorName = "mainDebtorName",
MainDebtorSSN = "mainDebtorSSN",
PostedToType = UserType.All
},
Sorting = new MessageSorting
{
MessageSortingType = MessageSortingType.DueDate,
Descending = true
}
});
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<soapenv:Body>
<urn:GetHandledMessages>
<urn:getHandledMessagesRequest>
<urn:MessageFilter>
<urn:AssignedTo>231</urn:AssignedTo>
<urn:CaseNumber>412</urn:CaseNumber>
<urn:CaseStatus>caseStatus</urn:CaseStatus>
<urn:CreditorName>creditorName</urn:CreditorName>
<urn:CreditorRefs>
<urn:CreditorRefNo>CreditorRefNo</urn:CreditorRefNo>
</urn:CreditorRefs>
<urn:DueDate>2019-06-02</urn:DueDate>
<urn:FirstInvoiceNumber>123</urn:FirstInvoiceNumber>
<urn:MainDebtorName>mainDebtorName</urn:MainDebtorName>
<urn:MainDebtorSSN>mainDebtorSSN</urn:MainDebtorSSN>
<urn:MessageType>All</urn:MessageType>
<urn:PostedAt>2019-06-01</urn:PostedAt>
<urn:PostedToType>All</urn:PostedToType>
</urn:MessageFilter>
<urn:PageLength>100</urn:PageLength>
<urn:PageNo>1</urn:PageNo>
<urn:Sorting>
<urn:Descending>true</urn:Descending>
<urn:MessageSortingType>DueDate</urn:MessageSortingType>
</urn:Sorting>
</urn:getHandledMessagesRequest>
</urn:GetHandledMessages>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectGetHandledMessagesGetHandledMessages.-
getHandledMessagesRequest
Information to get hadled messages, pagination and sorting.ObjectGetHandledMessagesRequestGet handled messages request.-
MessageFilter
Message filter, default set to all.ObjectMessageFilterList message filter type.-
AssignedTo
Filter reports by specified assigned to value.string -
CaseNumber
Filter reports by specified case number.string -
CaseStatus
Filter reports by specified case status.string -
CreditorName
Filter reports by specified creditro name.string -
CreditorRefs
Filter reports by specified creditor reference number.Arraystring -
DueDate
Filter reports by specified due date.DateTime -
FirstInvoiceNumber
Filter reports by specified first invoice number.string -
MainDebtorName
Filter reports by specified main debtor name.string -
MainDebtorSSN
Filter reports by specified main debtor SSN.string -
MessageType Mandatory
Filter reports by specified message type.EnumMessageTypeMessage type.-
AllAll types. -
NotificationNotification type. -
UserQuestionUser question type. -
ConversationConversation type.
-
-
PostedAt
Filter reports by specified posted at date.DateTime -
PostedByType
Filter reports by the specified type of user who sent the messageEnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
PostedToType
Filter reports by the specified type of user who is assignedEnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
UserActionCategory
Filter messages by specified user action category code.string
-
-
PageLength
Page lenght, default set to 100.int -
PageNo
Page number, default set to 1.int -
Sorting
Message sorting, default set to due date.ObjectMessageSortingMessage sorting.-
Descending
Is descending?bool -
MessageSortingType Mandatory
Message sorting type.EnumMessageSortingTypeMessage sorting type.-
MessageTypeMessage type. -
FirstInvoiceNumberFirst invoice number. -
CaseNumberCase number. -
CreditorRefNoCredit reference number. -
CreditorNameCreditor Name. -
MainDebtorSSNMain debtor SSN. -
MainDebtorNameMain debtor name. -
DueDateDue date. -
AssignedToAssigned to. -
PostedAtPosted at. -
CaseStatusCase status. -
UserActionCategoryUser action category.
-
-
-
-
Output
Error codes:
- 1 : error message from ARC server.
GetHandledMessagesResponse
-
GetHandledMessagesResult
Result of GetHandledMessages.ObjectGetHandledMessagesResultGet handled messages result.-
MessageCount
Returned messages count, default set to 0.int -
Messages
List of messages.ArrayObjectMessageHolds message information.-
AssignedTo
Assigned to.string -
AssignedToEmail
Email of the assignee.string -
AssignedToFullName
Full name or user code of the assignee.string -
AssignedToType
Type of the assignee.EnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
CaseGuid
guid of casestring -
CaseNumber
Case number.string -
CaseStatusCode
status code of casestring -
CaseStatusText
status description of casestring -
ConversationGuid
Conversation GUID.string -
ConversationSubject
Conversation subjectstring -
Creditor
Creditor.string -
CreditorName
Creditor name.string -
Documents
documents linked to messageArrayObjectHistoryDocumentDetailed information about history action document.-
CaseGuids
List of unique identifiers of collection cases related to the document.Arraystring -
DebtorGuids
List of unique identifiers of debtors related to the collection cases of the document.Arraystring -
DocumentDate
Document creation date.DateTime -
DocumentTypeCode
Document code (one of predefined types idoc / invoice / gjeldsbrev / verdict / domforlik).string -
FileName
File name.string -
HistoryGuid
History action document's unique identifier.string -
Important
Document importancy flag.bool -
Note
Free extra information related to the document.string -
UserEmail
E-mail of the document author.string -
UserFullName
Full name of the document author.string -
UserType
Party type of the document author.EnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
-
DueDate
Due date.DateTime -
FirstInvoiceNumber
First invoice number.string -
MainDebtorFullName
Main debtor id full namestring -
MainDebtorIdNumber
Main debtor id numberstring -
MessageGuid
Message GUID.string -
MessageReplies
List of message replies.ArrayObjectFixedMessageReplyHolds fixed message reply information.-
FixedMessageReplyType
Fixed message reply type.EnumFixedMessageReplyTypeFixed message reply type.-
FixedReplyFixed reply. -
ReplyWithNoteReply with note. -
ReplyWithAttachmentReply with attachment. -
ReplyAsConversationReply as conversation.
-
-
MessageCode
Message code.string -
MessageText
Message text.string
-
-
MessageText
Message text.string -
MessageType
Message type.EnumMessageTypeMessage type.-
AllAll types. -
NotificationNotification type. -
UserQuestionUser question type. -
ConversationConversation type.
-
-
PostedAt
Posted at.DateTime -
PostedByEmail
contains the posting user’s email is it existsstring -
PostedByFullName
contains the user name or user code of the user posted the messagestring -
PostedByType
contains the posting user’s party typeEnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
ReplyToMessageGuid
Reply to message GUID.string -
Unhandled
Is message unhandled?bool -
UserActionCategory
User action categorystring -
UserActionCategoryDescription
User action category descriptionstring -
UserQuestionAnswer
Answer code user selected for question when confirming manual actionstring -
UserQuestionAnswerDescription
Description of answer code user selected for question when confirming manual actionstring
-
-
PageLength
Page lenght, default set to 100.int -
PageNo
Page number, default set to 1.int -
Result
The result of the request. Indicating success or error.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
TotalPages
Pages count, default set to 0.int
-
GetMessagesForCase
Examples
MessagesClient client = new MessagesClient();
GetMessagesForCaseResult result = client.GetMessagesForCase(new GetMessagesForCaseRequest
{
PageLength = 100,
PageNo = 1,
CaseLookup = new CaseLookup
{
CaseIdentification = CaseIdentificationType.CaseNumber,
CaseIdentificationValue = "423423"
},
MessageFilter = new MessageFilter
{
MessageType = MessageType.All,
AssignedTo = "231",
CaseStatus = "caseStatus",
CaseNumber = "412",
CreditorName = "creditorName",
CreditorRefs = new CreditorRefs(){"ref1", "ref2", "ref3"},
DueDate = new DateTime(2019, 01, 02),
PostedAt = new DateTime(2019, 01, 01),
FirstInvoiceNumber = "123",
MainDebtorName = "mainDebtorName",
MainDebtorSSN = "mainDebtorSSN",
PostedToType = UserType.All
},
Sorting = new MessageSorting
{
MessageSortingType = MessageSortingType.DueDate,
Descending = true
}
});
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<soapenv:Body>
<urn:GetMessagesForCase>
<urn:getMessagesForCaseRequest>
<urn:CaseLookup>
<urn:CaseIdentification>CaseNumber</urn:CaseIdentification>
<urn:CaseIdentificationValue>423423</urn:CaseIdentificationValue>
</urn:CaseLookup>
<urn:MessageFilter>
<urn:AssignedTo>231</urn:AssignedTo>
<urn:CaseNumber>412</urn:CaseNumber>
<urn:CaseStatus>caseStatus</urn:CaseStatus>
<urn:CreditorName>creditorName</urn:CreditorName>
<urn:CreditorRefs>
<urn:CreditorRefNo>CreditorRefNo</urn:CreditorRefNo>
</urn:CreditorRefs>
<urn:DueDate>2019-06-02</urn:DueDate>
<urn:FirstInvoiceNumber>123</urn:FirstInvoiceNumber>
<urn:MainDebtorName>mainDebtorName</urn:MainDebtorName>
<urn:MainDebtorSSN>mainDebtorSSN</urn:MainDebtorSSN>
<urn:MessageType>All</urn:MessageType>
<urn:PostedAt>2019-06-01</urn:PostedAt>
<urn:PostedToType>All</urn:PostedToType>
</urn:MessageFilter>
<urn:PageLength>100</urn:PageLength>
<urn:PageNo>1</urn:PageNo>
<urn:Sorting>
<urn:Descending>true</urn:Descending>
<urn:MessageSortingType>DueDate</urn:MessageSortingType>
</urn:Sorting>
</urn:getMessagesForCaseRequest>
</urn:GetMessagesForCase>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectGetMessagesForCaseGetMessagesForCase.-
getMessagesForCaseRequest
Information to get messages for case, pagination and sorting.ObjectGetMessagesForCaseRequestGet messages for case request.-
CaseLookup Mandatory
Information to lookup collection case(s).ObjectCaseLookupThe way to find a collection case in DB by several predefined criteria.-
CaseIdentification Mandatory
Collection case identification type.EnumCaseIdentificationTypeCollection case identification type.-
CaseGuidCase GUID identification. -
CaseNumberCase number. -
AccountReferenceNumberAccount reference number provided by the client. -
InvoiceNumberInvoice number of one on the debts provided by the client. -
PaymentReferenceNumberPayment reference number (OCR). -
CustomerNoCustomer number for the debtor at the creditor side.
-
-
CaseIdentificationValue Mandatory
Identification value corresponding to identification type.string
-
-
MessageFilter
Message filter, default set to all.ObjectMessageFilterList message filter type.-
AssignedTo
Filter reports by specified assigned to value.string -
CaseNumber
Filter reports by specified case number.string -
CaseStatus
Filter reports by specified case status.string -
CreditorName
Filter reports by specified creditro name.string -
CreditorRefs
Filter reports by specified creditor reference number.Arraystring -
DueDate
Filter reports by specified due date.DateTime -
FirstInvoiceNumber
Filter reports by specified first invoice number.string -
MainDebtorName
Filter reports by specified main debtor name.string -
MainDebtorSSN
Filter reports by specified main debtor SSN.string -
MessageType Mandatory
Filter reports by specified message type.EnumMessageTypeMessage type.-
AllAll types. -
NotificationNotification type. -
UserQuestionUser question type. -
ConversationConversation type.
-
-
PostedAt
Filter reports by specified posted at date.DateTime -
PostedByType
Filter reports by the specified type of user who sent the messageEnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
PostedToType
Filter reports by the specified type of user who is assignedEnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
UserActionCategory
Filter messages by specified user action category code.string
-
-
PageLength
Page lenght, default set to 100.int -
PageNo
Page number, default set to 1.int -
Sorting
Message sorting, default set to due date.ObjectMessageSortingMessage sorting.-
Descending
Is descending?bool -
MessageSortingType Mandatory
Message sorting type.EnumMessageSortingTypeMessage sorting type.-
MessageTypeMessage type. -
FirstInvoiceNumberFirst invoice number. -
CaseNumberCase number. -
CreditorRefNoCredit reference number. -
CreditorNameCreditor Name. -
MainDebtorSSNMain debtor SSN. -
MainDebtorNameMain debtor name. -
DueDateDue date. -
AssignedToAssigned to. -
PostedAtPosted at. -
CaseStatusCase status. -
UserActionCategoryUser action category.
-
-
-
-
Output
Error codes:
- 1 : error message from ARC server.
GetMessagesForCaseResponse
-
GetMessagesForCaseResult
Result of GetMessagesForCase.ObjectGetMessagesForCaseResultGet messages for case result.-
MessageCount
Returned messages count, default set to 0.int -
Messages
List of messages.ArrayObjectMessageHolds message information.-
AssignedTo
Assigned to.string -
AssignedToEmail
Email of the assignee.string -
AssignedToFullName
Full name or user code of the assignee.string -
AssignedToType
Type of the assignee.EnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
CaseGuid
guid of casestring -
CaseNumber
Case number.string -
CaseStatusCode
status code of casestring -
CaseStatusText
status description of casestring -
ConversationGuid
Conversation GUID.string -
ConversationSubject
Conversation subjectstring -
Creditor
Creditor.string -
CreditorName
Creditor name.string -
Documents
documents linked to messageArrayObjectHistoryDocumentDetailed information about history action document.-
CaseGuids
List of unique identifiers of collection cases related to the document.Arraystring -
DebtorGuids
List of unique identifiers of debtors related to the collection cases of the document.Arraystring -
DocumentDate
Document creation date.DateTime -
DocumentTypeCode
Document code (one of predefined types idoc / invoice / gjeldsbrev / verdict / domforlik).string -
FileName
File name.string -
HistoryGuid
History action document's unique identifier.string -
Important
Document importancy flag.bool -
Note
Free extra information related to the document.string -
UserEmail
E-mail of the document author.string -
UserFullName
Full name of the document author.string -
UserType
Party type of the document author.EnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
-
DueDate
Due date.DateTime -
FirstInvoiceNumber
First invoice number.string -
MainDebtorFullName
Main debtor id full namestring -
MainDebtorIdNumber
Main debtor id numberstring -
MessageGuid
Message GUID.string -
MessageReplies
List of message replies.ArrayObjectFixedMessageReplyHolds fixed message reply information.-
FixedMessageReplyType
Fixed message reply type.EnumFixedMessageReplyTypeFixed message reply type.-
FixedReplyFixed reply. -
ReplyWithNoteReply with note. -
ReplyWithAttachmentReply with attachment. -
ReplyAsConversationReply as conversation.
-
-
MessageCode
Message code.string -
MessageText
Message text.string
-
-
MessageText
Message text.string -
MessageType
Message type.EnumMessageTypeMessage type.-
AllAll types. -
NotificationNotification type. -
UserQuestionUser question type. -
ConversationConversation type.
-
-
PostedAt
Posted at.DateTime -
PostedByEmail
contains the posting user’s email is it existsstring -
PostedByFullName
contains the user name or user code of the user posted the messagestring -
PostedByType
contains the posting user’s party typeEnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
ReplyToMessageGuid
Reply to message GUID.string -
Unhandled
Is message unhandled?bool -
UserActionCategory
User action categorystring -
UserActionCategoryDescription
User action category descriptionstring -
UserQuestionAnswer
Answer code user selected for question when confirming manual actionstring -
UserQuestionAnswerDescription
Description of answer code user selected for question when confirming manual actionstring
-
-
PageLength
Page lenght, default set to 100.int -
PageNo
Page number, default set to 1.int -
Result
The result of the request. Indicating success or error.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
TotalPages
Pages count, default set to 0.int
-
GetUnhandledMessages
Examples
MessagesClient client = new MessagesClient();
GetUnhandledMessagesResult result = client.GetUnhandledMessages(new GetUnhandledMessagesRequest
{
PageLength = 100,
PageNo = 1,
MessageFilter = new MessageFilter
{
MessageType = MessageType.All,
AssignedTo = "231",
CaseStatus = "caseStatus",
CaseNumber = "412",
CreditorName = "creditorName",
CreditorRefs = new CreditorRefs(){"ref1", "ref2", "ref3"},
DueDate = new DateTime(2019, 01, 02),
PostedAt = new DateTime(2019, 01, 01),
FirstInvoiceNumber = "123",
MainDebtorName = "mainDebtorName",
MainDebtorSSN = "mainDebtorSSN",
PostedToType = UserType.All
},
Sorting = new MessageSorting
{
MessageSortingType = MessageSortingType.DueDate,
Descending = true
}
});
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<soapenv:Body>
<urn:GetUnhandledMessages>
<urn:getUnhandledMessagesRequest>
<urn:MessageFilter>
<urn:AssignedTo>231</urn:AssignedTo>
<urn:CaseNumber>412</urn:CaseNumber>
<urn:CaseStatus>caseStatus</urn:CaseStatus>
<urn:CreditorName>creditorName</urn:CreditorName>
<urn:CreditorRefs>
<urn:CreditorRefNo>CreditorRefNo</urn:CreditorRefNo>
</urn:CreditorRefs>
<urn:DueDate>2019-06-02</urn:DueDate>
<urn:FirstInvoiceNumber>123</urn:FirstInvoiceNumber>
<urn:MainDebtorName>mainDebtorName</urn:MainDebtorName>
<urn:MainDebtorSSN>mainDebtorSSN</urn:MainDebtorSSN>
<urn:MessageType>All</urn:MessageType>
<urn:PostedAt>2019-06-01</urn:PostedAt>
<urn:PostedToType>All</urn:PostedToType>
</urn:MessageFilter>
<urn:PageLength>100</urn:PageLength>
<urn:PageNo>1</urn:PageNo>
<urn:Sorting>
<urn:Descending>true</urn:Descending>
<urn:MessageSortingType>DueDate</urn:MessageSortingType>
</urn:Sorting>
</urn:getUnhandledMessagesRequest>
</urn:GetUnhandledMessages>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectGetUnhandledMessagesGetUnhandledMessages.-
getUnhandledMessagesRequest
Information to get unhadled messages, pagination and sorting.ObjectGetUnhandledMessagesRequestGet unhandled messages request.-
MessageFilter
Message filter, default set to all.ObjectMessageFilterList message filter type.-
AssignedTo
Filter reports by specified assigned to value.string -
CaseNumber
Filter reports by specified case number.string -
CaseStatus
Filter reports by specified case status.string -
CreditorName
Filter reports by specified creditro name.string -
CreditorRefs
Filter reports by specified creditor reference number.Arraystring -
DueDate
Filter reports by specified due date.DateTime -
FirstInvoiceNumber
Filter reports by specified first invoice number.string -
MainDebtorName
Filter reports by specified main debtor name.string -
MainDebtorSSN
Filter reports by specified main debtor SSN.string -
MessageType Mandatory
Filter reports by specified message type.EnumMessageTypeMessage type.-
AllAll types. -
NotificationNotification type. -
UserQuestionUser question type. -
ConversationConversation type.
-
-
PostedAt
Filter reports by specified posted at date.DateTime -
PostedByType
Filter reports by the specified type of user who sent the messageEnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
PostedToType
Filter reports by the specified type of user who is assignedEnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
UserActionCategory
Filter messages by specified user action category code.string
-
-
PageLength
Page lenght, default set to 100.int -
PageNo
Page number, default set to 1.int -
Sorting
Message sorting, default set to due date.ObjectMessageSortingMessage sorting.-
Descending
Is descending?bool -
MessageSortingType Mandatory
Message sorting type.EnumMessageSortingTypeMessage sorting type.-
MessageTypeMessage type. -
FirstInvoiceNumberFirst invoice number. -
CaseNumberCase number. -
CreditorRefNoCredit reference number. -
CreditorNameCreditor Name. -
MainDebtorSSNMain debtor SSN. -
MainDebtorNameMain debtor name. -
DueDateDue date. -
AssignedToAssigned to. -
PostedAtPosted at. -
CaseStatusCase status. -
UserActionCategoryUser action category.
-
-
-
-
Output
Error codes:
- 1 : error message from ARC server.
GetUnhandledMessagesResponse
-
GetUnhandledMessagesResult
Result of GetUnhandledMessages.ObjectGetUnhandledMessagesResultGet unhandled messages result.-
MessageCount
Returned messages count, default set to 0.int -
Messages
List of messages.ArrayObjectMessageHolds message information.-
AssignedTo
Assigned to.string -
AssignedToEmail
Email of the assignee.string -
AssignedToFullName
Full name or user code of the assignee.string -
AssignedToType
Type of the assignee.EnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
CaseGuid
guid of casestring -
CaseNumber
Case number.string -
CaseStatusCode
status code of casestring -
CaseStatusText
status description of casestring -
ConversationGuid
Conversation GUID.string -
ConversationSubject
Conversation subjectstring -
Creditor
Creditor.string -
CreditorName
Creditor name.string -
Documents
documents linked to messageArrayObjectHistoryDocumentDetailed information about history action document.-
CaseGuids
List of unique identifiers of collection cases related to the document.Arraystring -
DebtorGuids
List of unique identifiers of debtors related to the collection cases of the document.Arraystring -
DocumentDate
Document creation date.DateTime -
DocumentTypeCode
Document code (one of predefined types idoc / invoice / gjeldsbrev / verdict / domforlik).string -
FileName
File name.string -
HistoryGuid
History action document's unique identifier.string -
Important
Document importancy flag.bool -
Note
Free extra information related to the document.string -
UserEmail
E-mail of the document author.string -
UserFullName
Full name of the document author.string -
UserType
Party type of the document author.EnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
-
DueDate
Due date.DateTime -
FirstInvoiceNumber
First invoice number.string -
MainDebtorFullName
Main debtor id full namestring -
MainDebtorIdNumber
Main debtor id numberstring -
MessageGuid
Message GUID.string -
MessageReplies
List of message replies.ArrayObjectFixedMessageReplyHolds fixed message reply information.-
FixedMessageReplyType
Fixed message reply type.EnumFixedMessageReplyTypeFixed message reply type.-
FixedReplyFixed reply. -
ReplyWithNoteReply with note. -
ReplyWithAttachmentReply with attachment. -
ReplyAsConversationReply as conversation.
-
-
MessageCode
Message code.string -
MessageText
Message text.string
-
-
MessageText
Message text.string -
MessageType
Message type.EnumMessageTypeMessage type.-
AllAll types. -
NotificationNotification type. -
UserQuestionUser question type. -
ConversationConversation type.
-
-
PostedAt
Posted at.DateTime -
PostedByEmail
contains the posting user’s email is it existsstring -
PostedByFullName
contains the user name or user code of the user posted the messagestring -
PostedByType
contains the posting user’s party typeEnumUserTypeUser type.-
NoneUser type is undefined. -
AllAll types. -
CreditorUserCreditor user type. -
SolicitorUserSolicitor user type. -
CreditorAndSolicitorUserCreditor | Solicitor user type. -
DebtorDebtor user type. -
CreditorUserAndDebtorCreditor Debtor user type -
SolicitorUserAndDebtorSolicito Debtor user type -
CreditorAndSolicitorUserAndDebtorCreditor Solicitor Debtor user type
-
-
ReplyToMessageGuid
Reply to message GUID.string -
Unhandled
Is message unhandled?bool -
UserActionCategory
User action categorystring -
UserActionCategoryDescription
User action category descriptionstring -
UserQuestionAnswer
Answer code user selected for question when confirming manual actionstring -
UserQuestionAnswerDescription
Description of answer code user selected for question when confirming manual actionstring
-
-
PageLength
Page lenght, default set to 100.int -
PageNo
Page number, default set to 1.int -
Result
The result of the request. Indicating success or error.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
TotalPages
Pages count, default set to 0.int
-
Ping
0 if everything went ok. If something went wrong
it will return a result code other than 0 and the result text will contain
information about error. However if service is unreachable, e.g. not started, the
service will not respond at all.Examples
ConversationClient client = new MessagesClient();
try
{
GeneralResult result = client.Ping();
if (result.Result.ResultCode != 0)
{
throw new Exception(result.Result.ResultText ?? "Unknown error");
}
}
catch(Exception e)
{
throw new Exception("Failed to ping conversation service.", e);
}
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<soapenv:Body>
<urn:Ping/>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectPingPing
Output
0 if ping was successful, otherwise read result text for error information.
GeneralResultResponse
-
GeneralResult
Result of GeneralResultObjectGeneralResultA general result containing a result with result code and result text.-
Result
The result of the request.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
PostOrRespondToMessage
Examples
MessagesClient client = new MessagesClient();
PostOrRespondToMessageResult result = client.PostOrRespondToMessage(new PostOrRespondToMessageRequest
{
MessageGuid = "412",
ReplyCode = "replyCode",
CaseLookup = new CaseLookup
{
CaseIdentification = CaseIdentificationType.CaseNumber,
CaseIdentificationValue = "423423"
},
AttachedDocument = new Document
{
Note = "Here a new file comes"
},
MessageText = "messageText",
FixedMessageReplyType = FixedMessageReplyType.ReplyWithAttachment,
CloseConversation = false,
AssignToMe = true,
ConversationGUID = "EEEE5203-0E30-4A30-9774-18D025B00715",
ConversationSubject = "Test subject",
MessageReplyType = MessageReplyType.ConfirmNotification
});
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<soapenv:Body>
<urn:PostOrRespondToMessage>
<urn:postOrRespondToMessageRequest>
<urn:AssignToMe>true</urn:AssignToMe>
<urn:AttachedDocument>
<urn:Note>Here a new file comes</urn:Note>
</urn:AttachedDocument>
<urn:CaseLookup>
<urn:CaseIdentification>CaseNumber</urn:CaseIdentification>
<urn:CaseIdentificationValue>423423</urn:CaseIdentificationValue>
</urn:CaseLookup>
<urn:CloseConversation>false</urn:CloseConversation>
<urn:ConversationGUID>EEEE5203-0E30-4A30-9774-18D025B00715</urn:ConversationGUID>
<urn:ConversationSubject>Test subject</urn:ConversationSubject>
<urn:FixedMessageReplyType>ReplyWithAttachment</urn:FixedMessageReplyType>
<urn:MessageGuid>412</urn:MessageGuid>
<urn:MessageReplyType>ConfirmNotification</urn:MessageReplyType>
<urn:MessageText>messageText</urn:MessageText>
<urn:ReplyCode>replyCode</urn:ReplyCode>
</urn:postOrRespondToMessageRequest>
</urn:PostOrRespondToMessage>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectPostOrRespondToMessagePostOrRespondToMessage.-
postOrRespondToMessageRequest
Information to post or respond to message.ObjectPostOrRespondToMessageRequestPost or respond to message request.-
AssignToMe Mandatory
Assign to me flag.bool -
AttachedDocument
Attached document.ObjectDocumentHolds history action document information.-
DocumentType
Document code (one of predefined types idoc / invoice / gjeldsbrev / verdict / domforlik).string -
ExternalLink
Link to the document, if it has to be copied from external source.string -
FileDataBase64
Base64-encoded file body.string -
Important
Document importancy flag.bool -
LoggedAt
Document creation date.DateTime -
Note Mandatory
Free extra information related to the document.string -
OriginalFileName
The file name to be generated instead of an auto-generated one.string
-
-
CaseLookup
Information to lookup collection case(s).ObjectCaseLookupThe way to find a collection case in DB by several predefined criteria.-
CaseIdentification Mandatory
Collection case identification type.EnumCaseIdentificationTypeCollection case identification type.-
CaseGuidCase GUID identification. -
CaseNumberCase number. -
AccountReferenceNumberAccount reference number provided by the client. -
InvoiceNumberInvoice number of one on the debts provided by the client. -
PaymentReferenceNumberPayment reference number (OCR). -
CustomerNoCustomer number for the debtor at the creditor side.
-
-
CaseIdentificationValue Mandatory
Identification value corresponding to identification type.string
-
-
CloseConversation
Close conversation flag.bool -
ConversationGUID
Conversation GUID.string -
ConversationSubject
Conversation subject.string -
FixedMessageReplyType
Fixed message reply type.EnumFixedMessageReplyTypeFixed message reply type.-
FixedReplyFixed reply. -
ReplyWithNoteReply with note. -
ReplyWithAttachmentReply with attachment. -
ReplyAsConversationReply as conversation.
-
-
MessageGuid
Message GUID.string -
MessageReplyType Mandatory
Message reply type.EnumMessageReplyTypeMessage reply type.-
StartConversationStart conversation. -
ConfirmNotificationConfirm notification. -
ReplyUserQuestionReply to user question. -
ReplyInConversationReply in conversation.
-
-
MessageText
Message text.string -
ReplyCode
Reply code.string -
UserActionCategory
User action category.string
-
-
Output
0 if post or respond to message successful.
Error codes:
- 1 : error message from ARC server.
PostOrRespondToMessageResponse
-
PostOrRespondToMessageResult
Result of PostOrRespondToMessage.ObjectPostOrRespondToMessageResultPost or respond to message result.-
ConversationGuid
Conversation guidstring -
MessageGuid
Message guidstring -
Result
The result of the request. Indicating success or error.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-