POST api/PerfilesWebApi/Aplicar

Request Information

URI Parameters

None.

Body Parameters

AbmPerfilesWebParam
NameDescriptionTypeAdditional information
Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1
}

application/xml, text/xml

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

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 'AbmPerfilesWebParam'.

Response Information

Resource Description

AbmPerfilesWebResult
NameDescriptionTypeAdditional information
Errores

Collection of MSErrorMessage

None.

Perfiles

PerfilesWeb

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"
    }
  ],
  "Perfiles": {
    "Id": 1,
    "EmpresaId": 1,
    "Descripcion": "sample string 2",
    "ObjectState": 3
  }
}

application/xml, text/xml

Sample:
<AbmPerfilesWebResult 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>
  <Perfiles xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities">
    <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.Interfaces">3</ObjectState>
    <d2p1:Descripcion>sample string 2</d2p1:Descripcion>
    <d2p1:EmpresaId>1</d2p1:EmpresaId>
    <d2p1:Id>1</d2p1:Id>
  </Perfiles>
</AbmPerfilesWebResult>