---
# System prepended metadata

title: TAG REQUEST

---

C2G Staging API: https://staging-sape-api.globec2g.com/

# TAG REQUEST

**List Tag Request by Coach**

**POST** `/TagRequest/all`
```
{
	“coach_user_role_id”: “3000” //logged user user role id
}
```
---

**Create Tag Request**

**POST** `/TagRequest/create`

```
{
	"action": "TAG",
	"coachee_user_role_id": "548",
	"comment": "Test Comment",
	"effective_date": "2019-07-31",
	"reason": "Transferred",
	"coach_user_role_id": "3000" //logged user user role id
}
```
---


**List Coachee for Create Tag Request**

**POST** `/TagRequest/listCoachees`
```
{
	"coach_user_role_id": "3000"
}
```
---

# TAG REQUEST COMMENTS
**Create Tag Request Comment**

**POST** `/TagRequestComment/create`

```
{
	"user_role_id": "3000",
	"tag_request_id": "80",
	"message": "A comment"
}
```

---

**List Tag Request Comments**

**GET** `/TagRequestComment/listByTagRequest/<TagRequestId>`

---
# COACHING SESSION HISTORY

**List of Coaching History**

**POST** `/CoachingSession/history`

```
{
    "user_role_id": "3001" // coachee user role id
}
```

---
# RATINGS
**Submit All Ratings**

**POST** `/Ratings/submitAllRatings`


```
[
	{
		"<growSessionId1>": {
			"rating_<ratingQuestionId1>": 5,
			"rating_<ratingQuestionId2>": 3,
			"remarks": "Awesome"
		}
	},
	{
		"<growSessionId2>": {
			"rating_<ratingQuestionId1>": 2,
			"rating_<ratingQuestionId2>": 1,
			"remarks": "Thanks"
		}
	}
]
```