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 dataObjectCloseConversationCloseConversation 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 CloseConversationObjectGeneralResultA 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
-
-
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 dataObjectCreateCollectionConversationCreateCollectionConversation.-
CaseLookup
Optional information to lookup 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
-
-
DebtorLookup
Optional information to lookup debtor(s).ObjectDebtorLookupThe way to find a debtor in DB by several predefined criteria.-
DebtorIdentification Mandatory
Debtor identification type.EnumDebtorIdentificationTypeDebtor identification type.-
CustomCustom identification. NOT SUPPORTED. -
DebtorSESSNOrCompanyNoIdentify by Swedish SSN or company number. -
DebtorNOSSNOrCompanyNoIdentify by Norweigan SSN or company number. -
DebtorReferenceNumberIdentify by debtor/client reference number. -
DebtorGuidDebtor identification. -
CustomerNoCustomer number for the debtor at the creditor side. NOT SUPPORTED in DebtorAccess.EstablishSession. -
DebtorFISSNOrCompanyNoIdentify 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.ObjectCreateConversationResultGeneral class for representing method output.-
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
-
-
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 dataObjectCreateForumCreateForum.-
Description
Topic description.string
-
Output
Error codes:
- 1: Unknown error
CreateForumResponse
-
CreateForumResult
Result of CreateForum.ObjectCreateConversationResultGeneral class for representing method output.-
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
-
-
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 dataObjectCreateLedgerCustomerConversationCreateLedgerCustomerConversation.-
CustomerLookup
Optional information to lookup customer(s).ObjectCustomerLookupA lookup for customer.-
CustomerIdentification Mandatory
Type of customer identification to look up.EnumCustomerIdentificationTypeCustomer identification type.-
CustomCustom identification. -
CustomerSESSNOrCompanyNoIdentify by Swedish SSN or company number. -
CustomerNOSSNOrCompanyNoIdentify by Norwegian SSN or company number. -
CustomerReferenceNumberIdentify by customer reference number. -
CustomerGuidCustomer identification.
-
-
CustomerIdentificationValue Mandatory
Customer identification to look up, depending on type it has different formats.string -
JuridicalType
Type of customer, e.g. physical.EnumCustomerJuridicalTypeJuridical type of the customer.-
PhysicalPhysical person, meaning a natural person. -
CompanyA company or other organisation. -
PersonalFirmA company that shares the juridical entity with a physical person.
-
-
-
InvoiceLookup
Optional information to lookup invoice(s).ObjectInvoiceLookupA lookup for invoice.-
CreditorRef
Creditor reference.string -
InvoiceIdentification Mandatory
Type of invoice identification to look up.EnumInvoiceIdentificationTypeInvoice identification type.-
InvoiceGuidInvoice identifier (GUID). -
InvoiceNumberInvoice number. -
LetterReferenceLetter 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.ObjectCreateConversationResultGeneral class for representing method output.-
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
-
-
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 dataObjectGetCollectionConversationsGetCollectionConversations.
Output
Error codes:
- 1: unknown error or error message from ARC server
GetCollectionConversationsResponse
-
GetCollectionConversationsResult
Result of GetCollectionConversations.ObjectGetCollectionConversationsResultGeneral class for representing method output.-
CollectionConversations
List of collection case conversations.ArrayObjectCollectionConversationHolds 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.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
-
-
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 dataObjectGetForumListGetForumList.
Output
Error codes:
- 1: Unknown error
GetForumListResponse
-
GetForumListResult
Result of GetForumList.ObjectGetForumListResultGeneral class for representing method output.-
Forums
List of topics.ArrayObjectForumHolds 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.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
-
-
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 dataObjectGetLedgerCustomerConversationsGetLedgerCustomerConversations.
Output
Error codes:
- 1: unknown error or error message from ARC server
GetLedgerCustomerConversationsResponse
-
GetLedgerCustomerConversationsResult
GetLedgerCustomerConversations result.ObjectGetLedgerCustomerConversationsResultGeneral class for representing method output.-
LedgerCustomerConversations
List of ledger account conversations.ArrayObjectLedgerCustomerConversationHolds 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.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
-
-
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 dataObjectGetMessagesGetMessages.-
ThreadGuid
Unique identifier of conversation.string
-
Output
Error codes:
- 1: unknown error or error message from ARC server
GetMessagesResponse
-
GetMessagesResult
Result of GetMessages.ObjectGetMessagesResultGeneral class for representing method output.-
Messages
List of conversation messages.ArrayObjectMessageHolds 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.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
-
-
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 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
-
-
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 dataObjectPostMessagePostMessage.-
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.ObjectPostMessageResultGeneral class for representing method output.-
MessageGuid
Message unique identifier.string -
Result Mandatory
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
-
-