> For the complete documentation index, see [llms.txt](https://blog.rhinoautomator.com/brians-integration-and-automation-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blog.rhinoautomator.com/brians-integration-and-automation-notes/connectwise-psa-actions/ticket-assignment-note.md).

# Ticket Assignment Note

{% hint style="danger" %}
I've migrated the entire blog over to my new website. Please go to [https://rhinoautomator.com](https://rhinoautomator.com/) for more as this will be deleted at some point.
{% endhint %}

## Required Variables

* member\_id - The ID of the ConnectWise PSA member that you want to assign
* ticket\_id - The ID of the service ticket that you are assigning the member to
* assignment\_note - The text note that you wish to include with the assignment. Regex in the body will handle replacing the spaces with '+'
* member\_email - The email address of the member you are assigning
* member\_first\_name - The first name of the member you are assigning
* member\_last\_name - The last name of the member you are assigning
* member\_identifier - The identifier of the member you are assigning. This can also be thought of as their PSA username such as tcat for Tom Cat.

## Action

```
POST
```

## URL Path

{% code overflow="wrap" %}

```jinja
{ base URL including version identifier }/services/system_io/actionprocessor/Service/SendStatusRequestAction.rails
```

{% endcode %}

## Headers

| Key          | Value                             |
| ------------ | --------------------------------- |
| Content-Type | application/x-www-form-urlencoded |

## Payload

{% code overflow="wrap" %}

```django
actionMessage=%7B%22payload%22%3A%22%7B%5C%22scheduleRecId%5C%22%3A{{ CTX.member_id }}%2C%5C%22srServiceRecId%5C%22%3A{{ CTX.ticket_id|int }}%2C%5C%22comments%5C%22%3A%5C%22{{ CTX.assignment_note|regex_replace(' ','+') }}%5C%22%2C%5C%22emailAddress%5C%22%3A%5C%22{{ CTX.member_email|urlencode }}%5C%22%2C%5C%22memberName%5C%22%3A%5C%22{{ CTX.member_first_name~"+"~CTX.member_last_name }}%5C%22%2C%5C%22requestType%5C%22%3A%5C%22new%5C%22%2C%5C%22resourceID%5C%22%3A%5C%22{{ CTX.member_identifier }}%5C%22%2C%5C%22documentRecIds%5C%22%3A%5B%5D%7D%22%2C%22payloadClassName%22%3A%22SendStatusRequestAction%22%2C%22project%22%3A%22ServiceCommon%22%7D
```

{% endcode %}
