GET api/account/plans/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Plan
NameDescriptionTypeAdditional information
Id

integer

None.

IdOperator

integer

None.

Description

string

None.

Value

integer

None.

Active

boolean

None.

Cost

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "IdOperator": 2,
    "Description": "sample string 3",
    "Value": 4,
    "Active": true,
    "Cost": 5
  },
  {
    "Id": 1,
    "IdOperator": 2,
    "Description": "sample string 3",
    "Value": 4,
    "Active": true,
    "Cost": 5
  }
]

text/html

Sample:
[{"Id":1,"IdOperator":2,"Description":"sample string 3","Value":4,"Active":true,"Cost":5},{"Id":1,"IdOperator":2,"Description":"sample string 3","Value":4,"Active":true,"Cost":5}]

application/xml, text/xml

Sample:
<ArrayOfPlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <Plan>
    <Active>true</Active>
    <Cost>5</Cost>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <IdOperator>2</IdOperator>
    <Value>4</Value>
  </Plan>
  <Plan>
    <Active>true</Active>
    <Cost>5</Cost>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <IdOperator>2</IdOperator>
    <Value>4</Value>
  </Plan>
</ArrayOfPlan>