Skip to content

Updating Team Member Service Link Settings

Request

Updates a team member service link with provided duration and bill of materials.

Security
BearerPartnerUser
Path
location_idnumberrequired

ID of a location.

Example:123
service_idnumberrequired

ID of service.

Example:123
team_member_idnumberrequired

ID of team member.

Example:123
Headers
Acceptstringrequired

Required B2B v2 response media type. Use application/vnd.api.v2+json. A charset parameter is also accepted.

Default:"application/vnd.api.v2+json"
Example:application/vnd.api.v2+json
Content-Typestringrequired

Should be equal to application/json

Example:application/json
Bodyapplication/json
seance_lengthnumberrequired

Duration of service provision by the specified team member in seconds, minimum 300 seconds (5 minutes), maximum 86100 seconds (23 hours 55 minutes).

Example:3600
technological_card_idnumber or nullrequired

ID of bill of materials used while providing the service.

Example:123
curl -i -X PUT \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/123/services/123/team_members/123 \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "seance_length": 3600,
    "technological_card_id": 123
  }'

Responses

OK

Bodyapplication/json
successboolean(Successful response status)

Response status.

Example:true
dataobject(Object of model "Service Team Member")
Example:
{ "service_id": 123, "master_id": 123, "length": 3600, "technological_card_id": 123, "api_id": "", "is_online": true, "is_offline_records_allowed": true, "price": null }
metaArray of any or object(Empty meta object)

Additional response data (empty object or empty array)

Example:
{}
Response
{ "success": true, "data": { "service_id": 123, "master_id": 123, "length": 3600, "technological_card_id": 123, "api_id": "", "is_online": true, "is_offline_records_allowed": true, "price": null }, "meta": {} }