-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No route POST: ticketing/tickets #241
Comments
Hi, have the same issue, how do you solve it? kind regards |
You have to debug the actual UCRM app in console and you'll see the path. I stopped using the SDK. If you using node, then just use axios and build your own SDK using the API docs. I rarely use SDK's nowadays. The API docs say REST, but it's not a RESTful api. Getting tired of RESTful just being tossed around like that lol. |
Okay thank you, if I get something to run I will share it ;P Or do you have allready a workaround to create/send tickets via plugins? |
Hi @Antontonov, thank you for using CRM! $api = \Ubnt\UcrmPluginSdk\Service\UcrmApi::create();
$api->post(
'ticketing/tickets',
[
'subject' => 'Test ticket',
'clientId' => 1,
'activity' => [
[
'comment' => [
'body' => 'Test comment',
]
]
]
]
); |
Ran into this tonight.
No route POST: ticketing/tickets
Using the latest UCRM SDK.
The text was updated successfully, but these errors were encountered: