POST api/v1/admin_Tenant

Request Information

URI Parameters

None.

Body Parameters

Admin_TenantVM
NameDescriptionTypeAdditional information
tenantId

integer

None.

name

string

None.

shortName

string

None.

address

string

None.

city

string

None.

stateId

integer

None.

localGovtId

integer

None.

yearOfEstablishment

string

None.

contactNumber

string

None.

email

string

None.

webAddress

string

None.

companyMotto

string

None.

contactPerson

string

None.

contactPersonPhone

string

None.

contactPersonEmail

string

None.

logoData

Collection of byte

None.

barLogoData

Collection of byte

None.

logoName

string

None.

logoFileType

string

None.

logoFileExtention

string

None.

barLogoFileName

string

None.

barLogoFileType

string

None.

barLogoFileExtention

string

None.

createdBy

integer

None.

dateCreated

date

None.

logoType

string

None.

fileType

string

None.

fileExtention

string

None.

fileName

string

None.

fileData

Collection of byte

None.

stateName

string

None.

localGovtName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "tenantId": 1,
  "name": "sample string 2",
  "shortName": "sample string 3",
  "address": "sample string 4",
  "city": "sample string 5",
  "stateId": 1,
  "localGovtId": 1,
  "yearOfEstablishment": "sample string 6",
  "contactNumber": "sample string 7",
  "email": "sample string 8",
  "webAddress": "sample string 9",
  "companyMotto": "sample string 10",
  "contactPerson": "sample string 11",
  "contactPersonPhone": "sample string 12",
  "contactPersonEmail": "sample string 13",
  "logoData": "QEA=",
  "barLogoData": "QEA=",
  "logoName": "sample string 14",
  "logoFileType": "sample string 15",
  "logoFileExtention": "sample string 16",
  "barLogoFileName": "sample string 17",
  "barLogoFileType": "sample string 18",
  "barLogoFileExtention": "sample string 19",
  "createdBy": 20,
  "dateCreated": "2024-11-24T09:53:07.5622146-08:00",
  "logoType": "sample string 21",
  "fileType": "sample string 22",
  "fileExtention": "sample string 23",
  "fileName": "sample string 24",
  "fileData": "QEA=",
  "stateName": "sample string 25",
  "localGovtName": "sample string 26"
}

application/xml, text/xml

Sample:
<Admin_TenantVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <address>sample string 4</address>
  <barLogoData>QEA=</barLogoData>
  <barLogoFileExtention>sample string 19</barLogoFileExtention>
  <barLogoFileName>sample string 17</barLogoFileName>
  <barLogoFileType>sample string 18</barLogoFileType>
  <city>sample string 5</city>
  <companyMotto>sample string 10</companyMotto>
  <contactNumber>sample string 7</contactNumber>
  <contactPerson>sample string 11</contactPerson>
  <contactPersonEmail>sample string 13</contactPersonEmail>
  <contactPersonPhone>sample string 12</contactPersonPhone>
  <createdBy>20</createdBy>
  <dateCreated>2024-11-24T09:53:07.5622146-08:00</dateCreated>
  <email>sample string 8</email>
  <fileData>QEA=</fileData>
  <fileExtention>sample string 23</fileExtention>
  <fileName>sample string 24</fileName>
  <fileType>sample string 22</fileType>
  <localGovtId>1</localGovtId>
  <localGovtName>sample string 26</localGovtName>
  <logoData>QEA=</logoData>
  <logoFileExtention>sample string 16</logoFileExtention>
  <logoFileType>sample string 15</logoFileType>
  <logoName>sample string 14</logoName>
  <logoType>sample string 21</logoType>
  <name>sample string 2</name>
  <shortName>sample string 3</shortName>
  <stateId>1</stateId>
  <stateName>sample string 25</stateName>
  <tenantId>1</tenantId>
  <webAddress>sample string 9</webAddress>
  <yearOfEstablishment>sample string 6</yearOfEstablishment>
</Admin_TenantVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.