POST API/Acesso/conceder-acesso
Request Information
URI Parameters
None.
Body Parameters
WilsonSons.Terminais.WSNegocio.API.ViewModels.Acesso.PerfilCnpjName | Description | Type | Additional information |
---|---|---|---|
Perfil | decimal number |
None. |
|
Cnpj | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Perfil": 1.0, "Cnpj": "sample string 2" }
application/xml, text/xml
Sample:
<PerfilCnpj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.API.ViewModels.Acesso"> <Cnpj>sample string 2</Cnpj> <Perfil>1</Perfil> </PerfilCnpj>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.