Reject a proposal
Updates the status of the specified proposal to Rejected. <br />You can send a proposal rejection notification to a specific user or to all users from the Proposals/Proposal Alerts list. • ProviderEmail and UserEmail. Use these parameters to send a proposal rejection notification to a specific user. If passed, any of these parameters prevails over useProposalAlertEmails. In case you pass a value to the ProviderEmail or UserEmail parameter in the request body and set useProposalAlertEmails to true, a notification is sent to the specified email address, while users from the Proposals/Proposal Alerts list are not notified. • useProposalAlertEmails. Set this parameter to true to send proposal rejection notifications to all users listed in the Proposals/Proposal Alerts section of Dispatch Preferences. <br />Note: This method is only available to subscriber users. <br />Example Request
PUT /proposals/{proposalId}/reject
{
"Comment": "Rejected due to the high costs",
"ProviderEmail": "ifixxservices@gmail.com",
"UserEmail": "cajunsoulrestaurant@gmail.com",
"RejectReasonCodeId": 4,
"ActionSource": "Standard",
"Actor": "Peter Cale",
"AttachmentstoWO": false,
"PinNote": true
}
Request
- Base URLhttps://sb2api.servicechannel.com/v3
- AuthOAuth 2Authorization codehttps://sb2login.servicechannel.com/oauth/authorizeToken URLhttps://sb2login.servicechannel.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The unique numeric identifier of the proposal to reject.
Query parameters
Defines if a proposal rejection notification is sent to all users listed in the Proposals/Proposal Alerts section of Dispatch Preferences. If the parameter value is true, users from the Proposals/Proposal Alerts list get a notification if the ProviderEmail and UserEmail parameters are not passed. If set to false or not passed, this parameter is ignored.
Request body
Response
The proposal status is set to Rejected, users are notified based on the passed parameters, and the values of the specified parameters are updated.<br/>The response is intentionally blank.
Changes
No recorded changes to this operation across all 1 revision of this API.