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 dataObjectAssignMessageToMe
AssignMessageToMe-
assignMessageToMeRequest
Information for message assignment.ObjectAssignMessageToMeRequest
Assign 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 AssignMessageToMeObjectAssignMessageToMeResult
Assign message to me result.-
Result
The result of the request. Indicating success or error.ObjectResultType
Common result type.-
ResultCode Mandatory
The result code0
means 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 dataObjectGetHandledMessages
GetHandledMessages.-
getHandledMessagesRequest
Information to get hadled messages, pagination and sorting.ObjectGetHandledMessagesRequest
Get handled messages request.-
MessageFilter
Message filter, default set to all.ObjectMessageFilter
List 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.EnumMessageType
Message type.-
All
All types. -
Notification
Notification type. -
UserQuestion
User question type. -
Conversation
Conversation type.
-
-
PostedAt
Filter reports by specified posted at date.DateTime
-
PostedByType
Filter reports by the specified type of user who sent the messageEnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor Solicitor Debtor user type
-
-
PostedToType
Filter reports by the specified type of user who is assignedEnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor 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.ObjectMessageSorting
Message sorting.-
Descending
Is descending?bool
-
MessageSortingType Mandatory
Message sorting type.EnumMessageSortingType
Message sorting type.-
MessageType
Message type. -
FirstInvoiceNumber
First invoice number. -
CaseNumber
Case number. -
CreditorRefNo
Credit reference number. -
CreditorName
Creditor Name. -
MainDebtorSSN
Main debtor SSN. -
MainDebtorName
Main debtor name. -
DueDate
Due date. -
AssignedTo
Assigned to. -
PostedAt
Posted at. -
CaseStatus
Case status. -
UserActionCategory
User action category.
-
-
-
-
Output
Error codes:
- 1 : error message from ARC server.
GetHandledMessagesResponse
-
GetHandledMessagesResult
Result of GetHandledMessages.ObjectGetHandledMessagesResult
Get handled messages result.-
MessageCount
Returned messages count, default set to 0.int
-
Messages
List of messages.ArrayObjectMessage
Holds 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.EnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor 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 messageArrayObjectHistoryDocument
Detailed 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.EnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor 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.ArrayObjectFixedMessageReply
Holds fixed message reply information.-
FixedMessageReplyType
Fixed message reply type.EnumFixedMessageReplyType
Fixed message reply type.-
FixedReply
Fixed reply. -
ReplyWithNote
Reply with note. -
ReplyWithAttachment
Reply with attachment. -
ReplyAsConversation
Reply as conversation.
-
-
MessageCode
Message code.string
-
MessageText
Message text.string
-
-
MessageText
Message text.string
-
MessageType
Message type.EnumMessageType
Message type.-
All
All types. -
Notification
Notification type. -
UserQuestion
User question type. -
Conversation
Conversation 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 typeEnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor 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.ObjectResultType
Common result type.-
ResultCode Mandatory
The result code0
means 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 dataObjectGetMessagesForCase
GetMessagesForCase.-
getMessagesForCaseRequest
Information to get messages for case, pagination and sorting.ObjectGetMessagesForCaseRequest
Get messages for case request.-
CaseLookup Mandatory
Information to lookup collection case(s).ObjectCaseLookup
The way to find a collection case in DB by several predefined criteria.-
CaseIdentification Mandatory
Collection case identification type.EnumCaseIdentificationType
Collection case identification type.-
CaseGuid
Case GUID identification. -
CaseNumber
Case number. -
AccountReferenceNumber
Account reference number provided by the client. -
InvoiceNumber
Invoice number of one on the debts provided by the client. -
PaymentReferenceNumber
Payment reference number (OCR). -
CustomerNo
Customer number for the debtor at the creditor side.
-
-
CaseIdentificationValue Mandatory
Identification value corresponding to identification type.string
-
-
MessageFilter
Message filter, default set to all.ObjectMessageFilter
List 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.EnumMessageType
Message type.-
All
All types. -
Notification
Notification type. -
UserQuestion
User question type. -
Conversation
Conversation type.
-
-
PostedAt
Filter reports by specified posted at date.DateTime
-
PostedByType
Filter reports by the specified type of user who sent the messageEnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor Solicitor Debtor user type
-
-
PostedToType
Filter reports by the specified type of user who is assignedEnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor 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.ObjectMessageSorting
Message sorting.-
Descending
Is descending?bool
-
MessageSortingType Mandatory
Message sorting type.EnumMessageSortingType
Message sorting type.-
MessageType
Message type. -
FirstInvoiceNumber
First invoice number. -
CaseNumber
Case number. -
CreditorRefNo
Credit reference number. -
CreditorName
Creditor Name. -
MainDebtorSSN
Main debtor SSN. -
MainDebtorName
Main debtor name. -
DueDate
Due date. -
AssignedTo
Assigned to. -
PostedAt
Posted at. -
CaseStatus
Case status. -
UserActionCategory
User action category.
-
-
-
-
Output
Error codes:
- 1 : error message from ARC server.
GetMessagesForCaseResponse
-
GetMessagesForCaseResult
Result of GetMessagesForCase.ObjectGetMessagesForCaseResult
Get messages for case result.-
MessageCount
Returned messages count, default set to 0.int
-
Messages
List of messages.ArrayObjectMessage
Holds 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.EnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor 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 messageArrayObjectHistoryDocument
Detailed 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.EnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor 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.ArrayObjectFixedMessageReply
Holds fixed message reply information.-
FixedMessageReplyType
Fixed message reply type.EnumFixedMessageReplyType
Fixed message reply type.-
FixedReply
Fixed reply. -
ReplyWithNote
Reply with note. -
ReplyWithAttachment
Reply with attachment. -
ReplyAsConversation
Reply as conversation.
-
-
MessageCode
Message code.string
-
MessageText
Message text.string
-
-
MessageText
Message text.string
-
MessageType
Message type.EnumMessageType
Message type.-
All
All types. -
Notification
Notification type. -
UserQuestion
User question type. -
Conversation
Conversation 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 typeEnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor 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.ObjectResultType
Common result type.-
ResultCode Mandatory
The result code0
means 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 dataObjectGetUnhandledMessages
GetUnhandledMessages.-
getUnhandledMessagesRequest
Information to get unhadled messages, pagination and sorting.ObjectGetUnhandledMessagesRequest
Get unhandled messages request.-
MessageFilter
Message filter, default set to all.ObjectMessageFilter
List 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.EnumMessageType
Message type.-
All
All types. -
Notification
Notification type. -
UserQuestion
User question type. -
Conversation
Conversation type.
-
-
PostedAt
Filter reports by specified posted at date.DateTime
-
PostedByType
Filter reports by the specified type of user who sent the messageEnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor Solicitor Debtor user type
-
-
PostedToType
Filter reports by the specified type of user who is assignedEnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor 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.ObjectMessageSorting
Message sorting.-
Descending
Is descending?bool
-
MessageSortingType Mandatory
Message sorting type.EnumMessageSortingType
Message sorting type.-
MessageType
Message type. -
FirstInvoiceNumber
First invoice number. -
CaseNumber
Case number. -
CreditorRefNo
Credit reference number. -
CreditorName
Creditor Name. -
MainDebtorSSN
Main debtor SSN. -
MainDebtorName
Main debtor name. -
DueDate
Due date. -
AssignedTo
Assigned to. -
PostedAt
Posted at. -
CaseStatus
Case status. -
UserActionCategory
User action category.
-
-
-
-
Output
Error codes:
- 1 : error message from ARC server.
GetUnhandledMessagesResponse
-
GetUnhandledMessagesResult
Result of GetUnhandledMessages.ObjectGetUnhandledMessagesResult
Get unhandled messages result.-
MessageCount
Returned messages count, default set to 0.int
-
Messages
List of messages.ArrayObjectMessage
Holds 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.EnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor 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 messageArrayObjectHistoryDocument
Detailed 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.EnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor 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.ArrayObjectFixedMessageReply
Holds fixed message reply information.-
FixedMessageReplyType
Fixed message reply type.EnumFixedMessageReplyType
Fixed message reply type.-
FixedReply
Fixed reply. -
ReplyWithNote
Reply with note. -
ReplyWithAttachment
Reply with attachment. -
ReplyAsConversation
Reply as conversation.
-
-
MessageCode
Message code.string
-
MessageText
Message text.string
-
-
MessageText
Message text.string
-
MessageType
Message type.EnumMessageType
Message type.-
All
All types. -
Notification
Notification type. -
UserQuestion
User question type. -
Conversation
Conversation 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 typeEnumUserType
User type.-
None
User type is undefined. -
All
All types. -
CreditorUser
Creditor user type. -
SolicitorUser
Solicitor user type. -
CreditorAndSolicitorUser
Creditor | Solicitor user type. -
Debtor
Debtor user type. -
CreditorUserAndDebtor
Creditor Debtor user type -
SolicitorUserAndDebtor
Solicito Debtor user type -
CreditorAndSolicitorUserAndDebtor
Creditor 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.ObjectResultType
Common result type.-
ResultCode Mandatory
The result code0
means 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 dataObjectPing
Ping
Output
0
if ping was successful, otherwise read result text for error information.
GeneralResultResponse
-
GeneralResult
Result of GeneralResultObjectGeneralResult
A general result containing a result with result code and result text.-
Result
The result of the request.ObjectResultType
Common result type.-
ResultCode Mandatory
The result code0
means 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 dataObjectPostOrRespondToMessage
PostOrRespondToMessage.-
postOrRespondToMessageRequest
Information to post or respond to message.ObjectPostOrRespondToMessageRequest
Post or respond to message request.-
AssignToMe Mandatory
Assign to me flag.bool
-
AttachedDocument
Attached document.ObjectDocument
Holds 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).ObjectCaseLookup
The way to find a collection case in DB by several predefined criteria.-
CaseIdentification Mandatory
Collection case identification type.EnumCaseIdentificationType
Collection case identification type.-
CaseGuid
Case GUID identification. -
CaseNumber
Case number. -
AccountReferenceNumber
Account reference number provided by the client. -
InvoiceNumber
Invoice number of one on the debts provided by the client. -
PaymentReferenceNumber
Payment reference number (OCR). -
CustomerNo
Customer 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.EnumFixedMessageReplyType
Fixed message reply type.-
FixedReply
Fixed reply. -
ReplyWithNote
Reply with note. -
ReplyWithAttachment
Reply with attachment. -
ReplyAsConversation
Reply as conversation.
-
-
MessageGuid
Message GUID.string
-
MessageReplyType Mandatory
Message reply type.EnumMessageReplyType
Message reply type.-
StartConversation
Start conversation. -
ConfirmNotification
Confirm notification. -
ReplyUserQuestion
Reply to user question. -
ReplyInConversation
Reply 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.ObjectPostOrRespondToMessageResult
Post or respond to message result.-
ConversationGuid
Conversation guidstring
-
MessageGuid
Message guidstring
-
Result
The result of the request. Indicating success or error.ObjectResultType
Common result type.-
ResultCode Mandatory
The result code0
means 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
-
-