PUT api/v3/Calls/CloseCall

Closes a Resgrid call

Request Information

URI Parameters

None.

Body Parameters

Data to close a call

CloseCallInputV3
NameDescriptionTypeAdditional information
Id

Call Id of the call to close

integer

None.

Msg

Message of the call to close

string

None.

Typ

Type of call closure that is used

ClosedOnlyCallStates

None.

Request Formats

application/json

Sample:
{
  "Id": 1,
  "Msg": "sample string 2",
  "Typ": "Closed"
}

application/xml, text/xml

Sample:
<CloseCallInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resgrid.Web.Services.Controllers.Version3.Models.Calls">
  <Id>1</Id>
  <Msg>sample string 2</Msg>
  <Typ>Closed</Typ>
</CloseCallInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OK status code if successful

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.