From Bright Pattern Documentation
imported>Tracy |
(Updated via BpDeleteTranslateTags script) |
||
Line 1: | Line 1: | ||
− | + | = Create Tenant from Template Form Data= | |
This method is functionally equivalent to the [[tenant-management-api-specification/CreateTenantfromTemplateJSONData|Create Tenant from Template JSON Data]] method, but it differs in the way that the tenant data is passed. In this method, tenant data is passed as HTML form data instead JSON. See the [[tenant-management-api-specification/Appendix|Appendix A for HTML form example]]. | This method is functionally equivalent to the [[tenant-management-api-specification/CreateTenantfromTemplateJSONData|Create Tenant from Template JSON Data]] method, but it differs in the way that the tenant data is passed. In this method, tenant data is passed as HTML form data instead JSON. See the [[tenant-management-api-specification/Appendix|Appendix A for HTML form example]]. | ||
Line 89: | Line 89: | ||
<center>[[provider-api-specification/CreateTenantfromTemplateJSONData|< Previous]] | [[provider-api-specification/CreateTenantfromTemplateStreamData|Next >]]</center> | <center>[[provider-api-specification/CreateTenantfromTemplateJSONData|< Previous]] | [[provider-api-specification/CreateTenantfromTemplateStreamData|Next >]]</center> | ||
− |
Latest revision as of 04:09, 29 May 2024
Create Tenant from Template Form Data
This method is functionally equivalent to the Create Tenant from Template JSON Data method, but it differs in the way that the tenant data is passed. In this method, tenant data is passed as HTML form data instead JSON. See the Appendix A for HTML form example.
Request
URL
http[s]://<host>:<port>/configapi/v2/selfservice/tenant/<tenant_url>
Method
POST
Body
MIME multipart message (RFC2388) (content type: mulipart/form-data)
Example
Field Name | Content Type | Example |
---|---|---|
tenantName | Tenant name | |
numberMap | 0000000000:9251234567 | |
numberMap | 0000000001:8003215555 | |
firstName | FirstName | |
lastName | LastName | |
loginId | admin | |
password | topsecret | |
admin@nowhere.net | ||
template | application/zip | |
lockTimeout | 120 |
Response
Code | Description |
200 | Success |
400 | Bad arguments |
403 | Access denied |
409 | Constraint violations |
500 | Server error |
503 | Lock timeout |