POST api/PerfilesWebApi/GrabarPermisos
Request Information
URI Parameters
None.
Body Parameters
AbmPerfilesSave| Name | Description | Type | Additional information |
|---|---|---|---|
| PerfilId | integer |
None. |
|
| Links | Collection of AbmPerfilesItemLink |
None. |
Request Formats
application/json, text/json
Sample:
{
"PerfilId": 1,
"Links": [
{
"href": "sample string 1",
"check": true
},
{
"href": "sample string 1",
"check": true
}
]
}
application/xml, text/xml
Sample:
<AbmPerfilesSave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities">
<Links>
<AbmPerfilesItemLink>
<check>true</check>
<href>sample string 1</href>
</AbmPerfilesItemLink>
<AbmPerfilesItemLink>
<check>true</check>
<href>sample string 1</href>
</AbmPerfilesItemLink>
</Links>
<PerfilId>1</PerfilId>
</AbmPerfilesSave>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
EntityErrors| Name | Description | Type | Additional information |
|---|---|---|---|
| HayError | boolean |
None. |
|
| ListaErrores | Collection of ErrorMessage |
None. |
Response Formats
application/json, text/json
Sample:
{
"HayError": true,
"ListaErrores": [
{
"Item": 1,
"ErrorCode": 2,
"LogId": 3,
"Message": "sample string 4",
"Source": "sample string 5",
"LargeDescription": "sample string 6",
"Translate": true,
"Format": "sample string 8",
"Args": [
{},
{}
]
},
{
"Item": 1,
"ErrorCode": 2,
"LogId": 3,
"Message": "sample string 4",
"Source": "sample string 5",
"LargeDescription": "sample string 6",
"Translate": true,
"Format": "sample string 8",
"Args": [
{},
{}
]
}
]
}
application/xml, text/xml
Sample:
<EntityErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.Standard">
<HayError>true</HayError>
<ListaErrores>
<ErrorMessage>
<Args xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:anyType />
<d4p1:anyType />
</Args>
<ErrorCode>2</ErrorCode>
<Format>sample string 8</Format>
<Item>1</Item>
<LargeDescription>sample string 6</LargeDescription>
<LogId>3</LogId>
<Message>sample string 4</Message>
<Source>sample string 5</Source>
<Translate>true</Translate>
</ErrorMessage>
<ErrorMessage>
<Args xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:anyType />
<d4p1:anyType />
</Args>
<ErrorCode>2</ErrorCode>
<Format>sample string 8</Format>
<Item>1</Item>
<LargeDescription>sample string 6</LargeDescription>
<LogId>3</LogId>
<Message>sample string 4</Message>
<Source>sample string 5</Source>
<Translate>true</Translate>
</ErrorMessage>
</ListaErrores>
</EntityErrors>