|
Function : CAI_openConversationFromFactory |
| Description |
This function opens an APIv2 conversation from an already opened Factory
| API : Application Programming Interface |
|
| Field Descriptions |
| Parameter | In/Out | Description |
|---|---|---|
| io_factory | In/Out | A pointer to the factory from which the conversation will be opened.. |
| i_open_type | In | A pointer to a structure declaring the type of open conversation. (See structure description below). |
| o_conversation | Out | A reference to a pointer to a conversation. This pointer (*o_conversation) must be initialized to NULL. |
| Structure Definition |
The CAI_OpenType structure provides clients with a new 'fast open' feature (bind_host_resource) which delays the allocation of AMADEUS central system resources until reception of the first functional transaction, plus the ability to open conversations with custom sign-in parameters.
|
| Field | Description |
|---|---|
| bind_host_resource | When set to true an active conversation with a resource allocation in the AMADEUS central System is initiated. When set to false (zero) a 'fast open' is performed and only the connection to the APIv2 Server is processed. The allocation of the resource in the AMADEUS central System will be performed later, on reception of the first transaction. |
| custom_sign | Filling this structure allows customers to overwrite the sign-in parameters agt_initials, duty_code, country_code, currency_code and language_code that are listed in the structure CAI_CustomSign |
| reserved | This field must not be filled. |
This structure must be initialized with CAI_initCustomSign function.
|
| Field | Description |
|---|---|
| agt_initials | Agent sign-in initials |
| duty_code | Duty code. |
| country_code | Country code. |
| currency_code | Default currency to use. |
| language_code | Default language chosen. |