POST api/PerfilesWebApi/TraerListaPerfiles

Request Information

URI Parameters

None.

Body Parameters

AbmPerfilesArbolParam
NameDescriptionTypeAdditional information
PerfilId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PerfilId": 1
}

application/xml, text/xml

Sample:
<AbmPerfilesArbolParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BigDipperAPI.Models">
  <PerfilId>1</PerfilId>
</AbmPerfilesArbolParam>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AbmPerfilesArbolParam'.

Response Information

Resource Description

ListaPerfilesModel
NameDescriptionTypeAdditional information
Errores

Collection of MSErrorMessage

None.

ListaPerfiles

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Errores": [
    {
      "Source": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "Source": "sample string 1",
      "Message": "sample string 2"
    }
  ],
  "ListaPerfiles": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ListaPerfilesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BigDipperAPI.Models">
  <Errores xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.Standard">
    <d2p1:MSErrorMessage>
      <d2p1:Message>sample string 2</d2p1:Message>
      <d2p1:Source>sample string 1</d2p1:Source>
    </d2p1:MSErrorMessage>
    <d2p1:MSErrorMessage>
      <d2p1:Message>sample string 2</d2p1:Message>
      <d2p1:Source>sample string 1</d2p1:Source>
    </d2p1:MSErrorMessage>
  </Errores>
  <ListaPerfiles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ListaPerfiles>
</ListaPerfilesModel>