Save or Update OutOfOffice
ApiScope: manage.outofoffice.write
API Scope Level: DepartmentScope
Path Parameters
ServiceSubscriberDepartment string required
dealerAssociate string required
application/json
Request Body required
outOfOfficeSetterUserUUID string
outOfOfficeSetterUserName string
startTime string
endTime string
turnOffNumber string
outOfOfficeType string
outOfOfficeForwardingDetail object
outOfOfficeAutoRespondDetail object
outOfOfficeDelegationDetail object
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
application/x-protobuf
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Bad Request
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
PUT /v2/department/:ServiceSubscriberDepartment/dealerAssociate/:dealerAssociate/outofoffice
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X PUT '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociate/:dealerAssociate/outofoffice' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"outOfOfficeSetterUserUUID": "string",
"outOfOfficeSetterUserName": "string",
"startTime": "string",
"endTime": "string",
"turnOffNumber": "string",
"outOfOfficeType": "string",
"outOfOfficeForwardingDetail": {
"forwardText": true,
"forwardEmail": true,
"forwardCall": true,
"textForwardingNumber": "string",
"emailForwardingAddress": "string",
"callForwardingNumber": "string"
},
"outOfOfficeAutoRespondDetail": {
"enableTextAutoReply": true,
"enableEmailAutoReply": true,
"enableCallAutoReply": true,
"autoTextReply": "string",
"autoEmailReplySubject": "string",
"autoEmailReplyBody": "string",
"autoCallReplyUrl": "string"
},
"outOfOfficeDelegationDetail": {
"delegateeDealerAssociateUUID": "string",
"delegateeDealerAssociateName": "string"
}
}'
python / requests
curl -L -X PUT '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociate/:dealerAssociate/outofoffice' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"outOfOfficeSetterUserUUID": "string",
"outOfOfficeSetterUserName": "string",
"startTime": "string",
"endTime": "string",
"turnOffNumber": "string",
"outOfOfficeType": "string",
"outOfOfficeForwardingDetail": {
"forwardText": true,
"forwardEmail": true,
"forwardCall": true,
"textForwardingNumber": "string",
"emailForwardingAddress": "string",
"callForwardingNumber": "string"
},
"outOfOfficeAutoRespondDetail": {
"enableTextAutoReply": true,
"enableEmailAutoReply": true,
"enableCallAutoReply": true,
"autoTextReply": "string",
"autoEmailReplySubject": "string",
"autoEmailReplyBody": "string",
"autoCallReplyUrl": "string"
},
"outOfOfficeDelegationDetail": {
"delegateeDealerAssociateUUID": "string",
"delegateeDealerAssociateName": "string"
}
}'
go / native
curl -L -X PUT '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociate/:dealerAssociate/outofoffice' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"outOfOfficeSetterUserUUID": "string",
"outOfOfficeSetterUserName": "string",
"startTime": "string",
"endTime": "string",
"turnOffNumber": "string",
"outOfOfficeType": "string",
"outOfOfficeForwardingDetail": {
"forwardText": true,
"forwardEmail": true,
"forwardCall": true,
"textForwardingNumber": "string",
"emailForwardingAddress": "string",
"callForwardingNumber": "string"
},
"outOfOfficeAutoRespondDetail": {
"enableTextAutoReply": true,
"enableEmailAutoReply": true,
"enableCallAutoReply": true,
"autoTextReply": "string",
"autoEmailReplySubject": "string",
"autoEmailReplyBody": "string",
"autoCallReplyUrl": "string"
},
"outOfOfficeDelegationDetail": {
"delegateeDealerAssociateUUID": "string",
"delegateeDealerAssociateName": "string"
}
}'
nodejs / axios
curl -L -X PUT '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociate/:dealerAssociate/outofoffice' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"outOfOfficeSetterUserUUID": "string",
"outOfOfficeSetterUserName": "string",
"startTime": "string",
"endTime": "string",
"turnOffNumber": "string",
"outOfOfficeType": "string",
"outOfOfficeForwardingDetail": {
"forwardText": true,
"forwardEmail": true,
"forwardCall": true,
"textForwardingNumber": "string",
"emailForwardingAddress": "string",
"callForwardingNumber": "string"
},
"outOfOfficeAutoRespondDetail": {
"enableTextAutoReply": true,
"enableEmailAutoReply": true,
"enableCallAutoReply": true,
"autoTextReply": "string",
"autoEmailReplySubject": "string",
"autoEmailReplyBody": "string",
"autoCallReplyUrl": "string"
},
"outOfOfficeDelegationDetail": {
"delegateeDealerAssociateUUID": "string",
"delegateeDealerAssociateName": "string"
}
}'
ruby / Net::HTTP
curl -L -X PUT '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociate/:dealerAssociate/outofoffice' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"outOfOfficeSetterUserUUID": "string",
"outOfOfficeSetterUserName": "string",
"startTime": "string",
"endTime": "string",
"turnOffNumber": "string",
"outOfOfficeType": "string",
"outOfOfficeForwardingDetail": {
"forwardText": true,
"forwardEmail": true,
"forwardCall": true,
"textForwardingNumber": "string",
"emailForwardingAddress": "string",
"callForwardingNumber": "string"
},
"outOfOfficeAutoRespondDetail": {
"enableTextAutoReply": true,
"enableEmailAutoReply": true,
"enableCallAutoReply": true,
"autoTextReply": "string",
"autoEmailReplySubject": "string",
"autoEmailReplyBody": "string",
"autoCallReplyUrl": "string"
},
"outOfOfficeDelegationDetail": {
"delegateeDealerAssociateUUID": "string",
"delegateeDealerAssociateName": "string"
}
}'
csharp / RestSharp
curl -L -X PUT '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociate/:dealerAssociate/outofoffice' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"outOfOfficeSetterUserUUID": "string",
"outOfOfficeSetterUserName": "string",
"startTime": "string",
"endTime": "string",
"turnOffNumber": "string",
"outOfOfficeType": "string",
"outOfOfficeForwardingDetail": {
"forwardText": true,
"forwardEmail": true,
"forwardCall": true,
"textForwardingNumber": "string",
"emailForwardingAddress": "string",
"callForwardingNumber": "string"
},
"outOfOfficeAutoRespondDetail": {
"enableTextAutoReply": true,
"enableEmailAutoReply": true,
"enableCallAutoReply": true,
"autoTextReply": "string",
"autoEmailReplySubject": "string",
"autoEmailReplyBody": "string",
"autoCallReplyUrl": "string"
},
"outOfOfficeDelegationDetail": {
"delegateeDealerAssociateUUID": "string",
"delegateeDealerAssociateName": "string"
}
}'
php / cURL
curl -L -X PUT '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociate/:dealerAssociate/outofoffice' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"outOfOfficeSetterUserUUID": "string",
"outOfOfficeSetterUserName": "string",
"startTime": "string",
"endTime": "string",
"turnOffNumber": "string",
"outOfOfficeType": "string",
"outOfOfficeForwardingDetail": {
"forwardText": true,
"forwardEmail": true,
"forwardCall": true,
"textForwardingNumber": "string",
"emailForwardingAddress": "string",
"callForwardingNumber": "string"
},
"outOfOfficeAutoRespondDetail": {
"enableTextAutoReply": true,
"enableEmailAutoReply": true,
"enableCallAutoReply": true,
"autoTextReply": "string",
"autoEmailReplySubject": "string",
"autoEmailReplyBody": "string",
"autoCallReplyUrl": "string"
},
"outOfOfficeDelegationDetail": {
"delegateeDealerAssociateUUID": "string",
"delegateeDealerAssociateName": "string"
}
}'
java / OkHttp
curl -L -X PUT '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociate/:dealerAssociate/outofoffice' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"outOfOfficeSetterUserUUID": "string",
"outOfOfficeSetterUserName": "string",
"startTime": "string",
"endTime": "string",
"turnOffNumber": "string",
"outOfOfficeType": "string",
"outOfOfficeForwardingDetail": {
"forwardText": true,
"forwardEmail": true,
"forwardCall": true,
"textForwardingNumber": "string",
"emailForwardingAddress": "string",
"callForwardingNumber": "string"
},
"outOfOfficeAutoRespondDetail": {
"enableTextAutoReply": true,
"enableEmailAutoReply": true,
"enableCallAutoReply": true,
"autoTextReply": "string",
"autoEmailReplySubject": "string",
"autoEmailReplyBody": "string",
"autoCallReplyUrl": "string"
},
"outOfOfficeDelegationDetail": {
"delegateeDealerAssociateUUID": "string",
"delegateeDealerAssociateName": "string"
}
}'
powershell / RestMethod
curl -L -X PUT '/manage/v2/department/:ServiceSubscriberDepartment/dealerAssociate/:dealerAssociate/outofoffice' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"outOfOfficeSetterUserUUID": "string",
"outOfOfficeSetterUserName": "string",
"startTime": "string",
"endTime": "string",
"turnOffNumber": "string",
"outOfOfficeType": "string",
"outOfOfficeForwardingDetail": {
"forwardText": true,
"forwardEmail": true,
"forwardCall": true,
"textForwardingNumber": "string",
"emailForwardingAddress": "string",
"callForwardingNumber": "string"
},
"outOfOfficeAutoRespondDetail": {
"enableTextAutoReply": true,
"enableEmailAutoReply": true,
"enableCallAutoReply": true,
"autoTextReply": "string",
"autoEmailReplySubject": "string",
"autoEmailReplyBody": "string",
"autoCallReplyUrl": "string"
},
"outOfOfficeDelegationDetail": {
"delegateeDealerAssociateUUID": "string",
"delegateeDealerAssociateName": "string"
}
}'