Sends a message to RT. Member id is sent.
| Parameter name | Data type | Description |
|---|---|---|
| memberId | int | Member whose e-mail address will be user |
| queue | String | RT queue |
| subject | String | Message subject |
| text | String | Message text |
| Thrown exception | Description |
|---|---|
| InternalErrorException | When unspecified error occur. See exception param message for explanation. |
| PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
| RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
| Return type | Description |
|---|---|
| RTMessage | Confirmation with e-mail address the ticket was created for |
Example URL
https://[hostname]/krb/rpc/json/rTMessagesManager/sentMessageToRT
Example params
{ "memberId" : 36 , "queue" : "text" , "subject" : "text" , "text" : "text" }Example response
{ "ticketNumber" : 32525 , "memberPreferredEmail" : "mail@mail.com" }Sends a message to RT. VO id is sent.
| Parameter name | Data type | Description |
|---|---|---|
| voId | int | VO id |
| queue | String | RT queue |
| subject | String | Message subject |
| text | String | Message text |
| Thrown exception | Description |
|---|---|
| InternalErrorException | When unspecified error occur. See exception param message for explanation. |
| PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
| RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
| Return type | Description |
|---|---|
| RTMessage | Confirmation with e-mail address the ticket was created for |
Example URL
https://[hostname]/krb/rpc/json/rTMessagesManager/sentMessageToRT
Example params
{ "voId" : 20 , "queue" : "text" , "subject" : "text" , "text" : "text" }Example response
{ "ticketNumber" : 32525 , "memberPreferredEmail" : "mail@mail.com" }Sends a message to RT. VO id is sent. Queue is not sent.
| Parameter name | Data type | Description |
|---|---|---|
| voId | int | VO id |
| subject | String | Message subject |
| text | String | Message text |
| Thrown exception | Description |
|---|---|
| InternalErrorException | When unspecified error occur. See exception param message for explanation. |
| PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
| RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
| Return type | Description |
|---|---|
| RTMessage | Confirmation with e-mail address the ticket was created for |
Example URL
https://[hostname]/krb/rpc/json/rTMessagesManager/sentMessageToRT
Example params
{ "voId" : 65 , "subject" : "text" , "text" : "text" }Example response
{ "ticketNumber" : 32525 , "memberPreferredEmail" : "mail@mail.com" }Sends a message to RT. Only text information is sent.
| Parameter name | Data type | Description |
|---|---|---|
| queue | String | RT queue |
| subject | String | Message subject |
| text | String | Message text |
| Thrown exception | Description |
|---|---|
| InternalErrorException | When unspecified error occur. See exception param message for explanation. |
| PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
| RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
| Return type | Description |
|---|---|
| RTMessage | Confirmation with e-mail address the ticket was created for |
Example URL
https://[hostname]/krb/rpc/json/rTMessagesManager/sentMessageToRT
Example params
{ "queue" : "text" , "subject" : "text" , "text" : "text" }Example response
{ "ticketNumber" : 32525 , "memberPreferredEmail" : "mail@mail.com" }