CloseConversation
Examples
ConversationClient client = new ConversationClient();
GeneralResult result = client.CloseConversation("A4287D2A-F16C-4C38-A6E6-9F307626204D");
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:CloseConversation>
<urn:ThreadGuid>A4287D2A-F16C-4C38-A6E6-9F307626204D</urn:ThreadGuid>
</urn:CloseConversation>
</soapenv:Body>
</soapenv:Envelope>
Input
-
request Mandatory
Request dataObjectCloseConversation
CloseConversation class-
ThreadGuid
Unique identifier of conversation.string
-
Output
0
if conversation is closed
Error codes:
- 1: unknown error or error message from ARC server
CloseConversationResponse
-
CloseConversationResult
Result of CloseConversationObjectGeneralResult
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
-
-
CreateCollectionConversation
CaseLookup
or DebtorLookup
to identify the collection case where the conversation is started on.Examples
ConversationClient client = new ConversationClient();
CreateConversationResult result = client.CreateCollectionConversation(
Subject: "Let's discuss collection case",
Message: "Hi, I have new information regarding this collection case. Matt.",
CaseLookup: null,
DebtorLookup: new DebtorLookup { DebtorIdentification = DebtorIdentificationType.DebtorReferenceNumber, DebtorIdentificationValue = "19580215-9557" }
);
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:CreateCollectionConversation>
<urn:DebtorLookup>
<urn:DebtorIdentification>DebtorReferenceNumber</urn:DebtorIdentification>
<urn:DebtorIdentificationValue>19580215-9557</urn:DebtorIdentificationValue>
</urn:DebtorLookup>
<urn:Message>Hi, I have new information regarding this collection case. Matt.</urn:Message>
<urn:Subject>Let's discuss collection case</urn:Subject>
</urn:CreateCollectionConversation>
</soapenv:Body>
</soapenv:Envelope>
Input
-
request Mandatory
Request dataObjectCreateCollectionConversation
CreateCollectionConversation.-
CaseLookup
Optional information to lookup 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
-
-
DebtorLookup
Optional information to lookup debtor(s).ObjectDebtorLookup
The way to find a debtor in DB by several predefined criteria.-
DebtorIdentification Mandatory
Debtor identification type.EnumDebtorIdentificationType
Debtor identification type.-
Custom
Custom identification. NOT SUPPORTED. -
DebtorSESSNOrCompanyNo
Identify by Swedish SSN or company number. -
DebtorNOSSNOrCompanyNo
Identify by Norweigan SSN or company number. -
DebtorReferenceNumber
Identify by debtor/client reference number. -
DebtorGuid
Debtor identification. -
CustomerNo
Customer number for the debtor at the creditor side. NOT SUPPORTED in DebtorAccess.EstablishSession. -
DebtorFISSNOrCompanyNo
Identify by Finnish SSN or company number.
-
-
DebtorIdentificationValue Mandatory
Identification value corresponding to identification type.string
-
-
Message
Message text.string
-
Subject
Message subject.string
-
Output
Error codes:
- 1: unknown error or error message from ARC server
CreateCollectionConversationResponse
-
CreateCollectionConversationResult
Result of CreateCollectionConversation.ObjectCreateConversationResult
General class for representing method output.-
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
-
-
ThreadGuid
Topic unique identifier.string
-
CreateForum
Operation CreateForum is obsolete. This method is left for compatibility with old functionality which is practically not used anymore
Examples
ConversationClient client = new ConversationClient();
CreateConversationResult result = client.CreateForum(
Description: "Let's talk about invoices"
);
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:CreateForum>
<urn:Description>Let's talk about invoices</urn:Description>
</urn:CreateForum>
</soapenv:Body>
</soapenv:Envelope>
Input
-
request Mandatory
Request dataObjectCreateForum
CreateForum.-
Description
Topic description.string
-
Output
Error codes:
- 1: Unknown error
CreateForumResponse
-
CreateForumResult
Result of CreateForum.ObjectCreateConversationResult
General class for representing method output.-
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
-
-
ThreadGuid
Topic unique identifier.string
-
CreateLedgerCustomerConversation
InvoiceLookup
or CustomerLookup
to identify ledger account where the conversation is started on.Examples
ConversationClient client = new ConversationClient();
CreateConversationResult result = client.CreateLedgerCustomerConversation(
Subject: "Let's discuss ledger account",
Message: "Hi, I have new information regarding this ledger. Bryan.",
InvoiceLookup: new InvoiceLookup { InvoiceIdentification = InvoiceIdentificationType.InvoiceNumber, InvoiceIdentificationValue = "30077" },
CustomerLookup: null
);
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:CreateLedgerCustomerConversation>
<urn:InvoiceLookup>
<urn:InvoiceIdentification>InvoiceNumber</urn:InvoiceIdentification>
<urn:InvoiceIdentificationValue>33077</urn:InvoiceIdentificationValue>
</urn:InvoiceLookup>
<urn:Message>Hi, I have new information regarding this ledger. Bryan.</urn:Message>
<urn:Subject>Let's discuss ledger account</urn:Subject>
</urn:CreateLedgerCustomerConversation>
</soapenv:Body>
</soapenv:Envelope>
Input
-
request Mandatory
Request dataObjectCreateLedgerCustomerConversation
CreateLedgerCustomerConversation.-
CustomerLookup
Optional information to lookup customer(s).ObjectCustomerLookup
A lookup for customer.-
CustomerIdentification Mandatory
Type of customer identification to look up.EnumCustomerIdentificationType
Customer identification type.-
Custom
Custom identification. -
CustomerSESSNOrCompanyNo
Identify by Swedish SSN or company number. -
CustomerNOSSNOrCompanyNo
Identify by Norwegian SSN or company number. -
CustomerReferenceNumber
Identify by customer reference number. -
CustomerGuid
Customer identification.
-
-
CustomerIdentificationValue Mandatory
Customer identification to look up, depending on type it has different formats.string
-
JuridicalType
Type of customer, e.g. physical.EnumCustomerJuridicalType
Juridical type of the customer.-
Physical
Physical person, meaning a natural person. -
Company
A company or other organisation. -
PersonalFirm
A company that shares the juridical entity with a physical person.
-
-
-
InvoiceLookup
Optional information to lookup invoice(s).ObjectInvoiceLookup
A lookup for invoice.-
CreditorRef
Creditor reference.string
-
InvoiceIdentification Mandatory
Type of invoice identification to look up.EnumInvoiceIdentificationType
Invoice identification type.-
InvoiceGuid
Invoice identifier (GUID). -
InvoiceNumber
Invoice number. -
LetterReference
Letter reference.
-
-
InvoiceIdentificationValue Mandatory
Invoice identification to look up, depending on type it has different formats.string
-
-
Message
Message text.string
-
Subject
Message subject.string
-
Output
Error codes:
- 1: unknown error or error message from ARC server
CreateLedgerCustomerConversationResponse
-
CreateLedgerCustomerConversationResult
Result of CreateLedgerCustomerConversation.ObjectCreateConversationResult
General class for representing method output.-
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
-
-
ThreadGuid
Topic unique identifier.string
-
GetCollectionConversations
Examples
ConversationClient client = new ConversationClient();
GetCollectionConversationsResult result = client.GetCollectionConversations();
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:GetCollectionConversations />
</soapenv:Body>
</soapenv:Envelope>
Input
-
request Mandatory
Request dataObjectGetCollectionConversations
GetCollectionConversations.
Output
Error codes:
- 1: unknown error or error message from ARC server
GetCollectionConversationsResponse
-
GetCollectionConversationsResult
Result of GetCollectionConversations.ObjectGetCollectionConversationsResult
General class for representing method output.-
CollectionConversations
List of collection case conversations.ArrayObjectCollectionConversation
Holds information about collection case conversation.-
CaseGuid
Collection case unique identifier.string
-
CaseNumber
Collection case number.string
-
ClosureDate Mandatory
Conversation closure date.DateTime
-
ConversationGuid Mandatory
Conversation unique identifier.string
-
DebtorGuid
Collection case debtor unique identifier.string
-
DebtorName
Collection case debtor name.string
-
Messages Mandatory
Conversation messages count.int
-
Subject
Conversation subjectstring
-
Unread Mandatory
Conversation unread messages count.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
-
-
GetForumList
Operation GetForumList is obsolete. This method is left for compatibility with old functionality which is practically not used anymore
Examples
ConversationClient client = new ConversationClient();
GetForumListResult result = client.GetForumList();
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:GetForumList />
</soapenv:Body>
</soapenv:Envelope>
Input
-
request Mandatory
Request dataObjectGetForumList
GetForumList.
Output
Error codes:
- 1: Unknown error
GetForumListResponse
-
GetForumListResult
Result of GetForumList.ObjectGetForumListResult
General class for representing method output.-
Forums
List of topics.ArrayObjectForum
Holds information about topic.-
Description
Topic description.string
-
Messages
Topic messages count.int
-
ThreadGuid
Topic unique identifier.string
-
Unread
Topic unread messages count.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
-
-
GetLedgerCustomerConversations
Examples
ConversationClient client = new ConversationClient();
GetLedgerCustomerConversationsResult result = client.GetLedgerCustomerConversations();
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:GetLedgerCustomerConversations />
</soapenv:Body>
</soapenv:Envelope>
Input
-
request Mandatory
Request dataObjectGetLedgerCustomerConversations
GetLedgerCustomerConversations.
Output
Error codes:
- 1: unknown error or error message from ARC server
GetLedgerCustomerConversationsResponse
-
GetLedgerCustomerConversationsResult
GetLedgerCustomerConversations result.ObjectGetLedgerCustomerConversationsResult
General class for representing method output.-
LedgerCustomerConversations
List of ledger account conversations.ArrayObjectLedgerCustomerConversation
Holds information about ledger account conversation.-
AccountNumber
Customer account number.string
-
CreditorReference
Creditor reference.string
-
CustomerGuid
Ledger customer unique identifier.string
-
CustomerName
Ledger customer name.string
-
InvoiceNumber
Invoice number.string
-
Messages Mandatory
Conversation messages count.int
-
ThreadGuid Mandatory
Conversation unique identifier.string
-
Unread Mandatory
Conversation unread messages count.int
-
-
Result Mandatory
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
-
-
GetMessages
Examples
ConversationClient client = new ConversationClient();
GetMessagesResult result = client.GetMessages("A4287D2A-F16C-4C38-A6E6-9F307626204D");
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:GetMessages>
<urn:ThreadGuid>A4287D2A-F16C-4C38-A6E6-9F307626204D</urn:ThreadGuid>
</urn:GetMessages>
</soapenv:Body>
</soapenv:Envelope>
Input
-
request Mandatory
Request dataObjectGetMessages
GetMessages.-
ThreadGuid
Unique identifier of conversation.string
-
Output
Error codes:
- 1: unknown error or error message from ARC server
GetMessagesResponse
-
GetMessagesResult
Result of GetMessages.ObjectGetMessagesResult
General class for representing method output.-
Messages
List of conversation messages.ArrayObjectMessage
Holds information about conversation message.-
ConversationClosed Mandatory
Conversation closed flag.bool
-
ConversationGuid Mandatory
Conversation unique identifier.string
-
MessageGuid Mandatory
Message unique identifier.string
-
MessageText Mandatory
Message text.string
-
PostedAt Mandatory
Message posting date.DateTime
-
PostedBy Mandatory
Message posting author.string
-
ReplyToMessageGuid
Unique identifier of the message being replied on.string
-
Unread Mandatory
Is the message unread.bool
-
-
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
-
-
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 ConversationClient();
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
-
-
PostMessage
Examples
ConversationClient client = new ConversationClient();
PostMessageResult result = client.PostMessage(
ThreadGuid: "A4287D2A-F16C-4C38-A6E6-9F307626204D",
MessageText: "New message from me",
ReplyToMessageGuid: null
);
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:PostMessage>
<urn:MessageText>New message from me</urn:MessageText>
<urn:ThreadGuid>A4287D2A-F16C-4C38-A6E6-9F307626204D</urn:ThreadGuid>
</urn:PostMessage>
</soapenv:Body>
</soapenv:Envelope>
Input
-
request Mandatory
Request dataObjectPostMessage
PostMessage.-
MessageText
Message text.string
-
ReplyToMessageGuid
Optional unique identifier of the message being replied on.string
-
ThreadGuid
Unique identifier of conversation.string
-
Output
Error codes:
- 1: unknown error or error message from ARC server
PostMessageResponse
-
PostMessageResult
Result of PostMessage.ObjectPostMessageResult
General class for representing method output.-
MessageGuid
Message unique identifier.string
-
Result Mandatory
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
-
-