POST api/tenant/create
Request Information
URI Parameters
None.
Body Parameters
DTOSYSTenant| Name | Description | Type | Additional information |
|---|---|---|---|
| SYSTenantID | integer |
None. |
|
| GUID | string |
None. |
|
| TenantName | string |
None. |
|
| Logo | Collection of byte |
None. |
|
| Logo1 | Collection of byte |
None. |
|
| ContactNo | string |
None. |
|
| Address1 | string |
None. |
|
| Address2 | string |
None. |
|
| FlagDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"SYSTenantID": 1,
"GUID": "sample string 2",
"TenantName": "sample string 3",
"Logo": "QEA=",
"Logo1": "QEA=",
"ContactNo": "sample string 4",
"Address1": "sample string 5",
"Address2": "sample string 6",
"FlagDeleted": true
}
application/xml, text/xml
Sample:
<DTOSYSTenant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO"> <Address1>sample string 5</Address1> <Address2>sample string 6</Address2> <ContactNo>sample string 4</ContactNo> <FlagDeleted>true</FlagDeleted> <GUID>sample string 2</GUID> <Logo>QEA=</Logo> <Logo1>QEA=</Logo1> <SYSTenantID>1</SYSTenantID> <TenantName>sample string 3</TenantName> </DTOSYSTenant>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>