POST api/v3/createtenants
Request Information
URI Parameters
None.
Body Parameters
TenantEmpresaInputName | Description | Type | Additional information |
---|---|---|---|
TenantId | globally unique identifier |
None. |
|
TenantAlias | string |
None. |
|
FiliaisDeRetirada | Collection of TenantFiliaisDeRetiradaInput |
None. |
|
CriarEmpresa | boolean |
None. |
|
Senha | string |
None. |
|
TenantGroup_Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "TenantId": "ff7a2a39-d3e8-4ff6-9616-463329136cdd", "TenantAlias": "sample string 2", "FiliaisDeRetirada": [ { "Identificador": 1, "TenantId": "ad4df36d-48da-47da-9a95-f33065a62368", "TenantAlias": "sample string 2" }, { "Identificador": 1, "TenantId": "ad4df36d-48da-47da-9a95-f33065a62368", "TenantAlias": "sample string 2" } ], "CriarEmpresa": true, "Senha": "sample string 4", "TenantGroup_Id": 1 }
application/xml, text/xml
Sample:
<TenantEmpresaInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Common.Input.v3"> <CriarEmpresa>true</CriarEmpresa> <FiliaisDeRetirada> <TenantFiliaisDeRetiradaInput> <Identificador>1</Identificador> <TenantAlias>sample string 2</TenantAlias> <TenantId>ad4df36d-48da-47da-9a95-f33065a62368</TenantId> </TenantFiliaisDeRetiradaInput> <TenantFiliaisDeRetiradaInput> <Identificador>1</Identificador> <TenantAlias>sample string 2</TenantAlias> <TenantId>ad4df36d-48da-47da-9a95-f33065a62368</TenantId> </TenantFiliaisDeRetiradaInput> </FiliaisDeRetirada> <Senha>sample string 4</Senha> <TenantAlias>sample string 2</TenantAlias> <TenantGroup_Id>1</TenantGroup_Id> <TenantId>ff7a2a39-d3e8-4ff6-9616-463329136cdd</TenantId> </TenantEmpresaInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.