POST api/Packet/BlockSection

Request Information

URI Parameters

None.

Body Parameters

BlockedSectionRequest
NameDescriptionTypeAdditional information
Id

integer

None.

IsBlocked

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "isBlocked": true
}

application/xml, text/xml

Sample:
<BlockedSectionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VolisServer.DTOs.Packet">
  <Id>1</Id>
  <IsBlocked>true</IsBlocked>
</BlockedSectionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Errors

Collection of string

None.

Warning

boolean

None.

Response Formats

application/json, text/json

Sample:

Sample not available.