POST api/company?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

TK_Company
NameDescriptionTypeAdditional information
companyId

integer

None.

companyName

string

None.

companyAddress

string

None.

companyPhone1

string

None.

companyPhone2

string

None.

companyRegNo1

string

None.

companyRegNo2

string

None.

companyType

string

None.

stateName

string

None.

IFSCCode

string

None.

districtName

string

None.

companyDefaultLanguage

string

None.

companyToken

string

None.

companyGateway

string

None.

isCategoryEnable

boolean

None.

isDharshanEnable

boolean

None.

isSubTemple

boolean

None.

isSubTempleVazhipadu

boolean

None.

isSubTempleDharshan

boolean

None.

isStar

boolean

None.

isVazhipaduEnable

boolean

None.

isDonationEnable

boolean

None.

vazhipaduPrefix

string

None.

donationPrefix

string

None.

companyLogoLandscape

string

None.

companyLogoPortrait

string

None.

companyPrintHeaderImg

string

None.

companyPrintFooterImg

string

None.

Request Formats

application/json, text/json

Sample:
{
  "companyId": 1,
  "companyName": "sample string 2",
  "companyAddress": "sample string 3",
  "companyPhone1": "sample string 4",
  "companyPhone2": "sample string 5",
  "companyRegNo1": "sample string 6",
  "companyRegNo2": "sample string 7",
  "companyType": "sample string 8",
  "stateName": "sample string 9",
  "IFSCCode": "sample string 10",
  "districtName": "sample string 11",
  "companyDefaultLanguage": "sample string 12",
  "companyToken": "sample string 13",
  "companyGateway": "sample string 14",
  "isCategoryEnable": true,
  "isDharshanEnable": true,
  "isSubTemple": true,
  "isSubTempleVazhipadu": true,
  "isSubTempleDharshan": true,
  "isStar": true,
  "isVazhipaduEnable": true,
  "isDonationEnable": true,
  "vazhipaduPrefix": "sample string 23",
  "donationPrefix": "sample string 24",
  "companyLogoLandscape": "sample string 25",
  "companyLogoPortrait": "sample string 26",
  "companyPrintHeaderImg": "sample string 27",
  "companyPrintFooterImg": "sample string 28"
}

application/xml, text/xml

Sample:
<TK_Company xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models">
  <IFSCCode>sample string 10</IFSCCode>
  <companyAddress>sample string 3</companyAddress>
  <companyDefaultLanguage>sample string 12</companyDefaultLanguage>
  <companyGateway>sample string 14</companyGateway>
  <companyId>1</companyId>
  <companyLogoLandscape>sample string 25</companyLogoLandscape>
  <companyLogoPortrait>sample string 26</companyLogoPortrait>
  <companyName>sample string 2</companyName>
  <companyPhone1>sample string 4</companyPhone1>
  <companyPhone2>sample string 5</companyPhone2>
  <companyPrintFooterImg>sample string 28</companyPrintFooterImg>
  <companyPrintHeaderImg>sample string 27</companyPrintHeaderImg>
  <companyRegNo1>sample string 6</companyRegNo1>
  <companyRegNo2>sample string 7</companyRegNo2>
  <companyToken>sample string 13</companyToken>
  <companyType>sample string 8</companyType>
  <districtName>sample string 11</districtName>
  <donationPrefix>sample string 24</donationPrefix>
  <isCategoryEnable>true</isCategoryEnable>
  <isDharshanEnable>true</isDharshanEnable>
  <isDonationEnable>true</isDonationEnable>
  <isStar>true</isStar>
  <isSubTemple>true</isSubTemple>
  <isSubTempleDharshan>true</isSubTempleDharshan>
  <isSubTempleVazhipadu>true</isSubTempleVazhipadu>
  <isVazhipaduEnable>true</isVazhipaduEnable>
  <stateName>sample string 9</stateName>
  <vazhipaduPrefix>sample string 23</vazhipaduPrefix>
</TK_Company>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Status

string

None.

Data

Object

None.

Message

string

None.

Type

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Data": {},
  "Message": "sample string 3",
  "Type": 4
}

application/xml, text/xml

Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models">
  <Data />
  <Message>sample string 3</Message>
  <Status>sample string 1</Status>
  <Type>4</Type>
</APIResponse>