POST api/Customer/SwitchCompany
Api for customer Switch Company
Request Information
URI Parameters
None.
Body Parameters
CustomerSwitchCompanyRequestModelName | Description | Type | Additional information |
---|---|---|---|
CustomerUserName | string |
Required |
|
CmmsCompanyID | integer |
Required |
|
DeviceType | string |
None. |
|
VOIPToken | string |
None. |
|
APNSToken | string |
None. |
|
FCNToken | string |
None. |
|
CustomerID | integer |
None. |
Request Formats
application/json, text/json, text/plain, text/html
Sample:
{ "customerUserName": "sample string 1", "cmmsCompanyID": 2, "deviceType": "sample string 3", "voipToken": "sample string 4", "apnsToken": "sample string 5", "fcnToken": "sample string 6", "customerID": 1 }
application/xml, text/xml
Sample:
<CustomerSwitchCompanyRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel"> <APNSToken>sample string 5</APNSToken> <CmmsCompanyID>2</CmmsCompanyID> <CustomerID>1</CustomerID> <CustomerUserName>sample string 1</CustomerUserName> <DeviceType>sample string 3</DeviceType> <FCNToken>sample string 6</FCNToken> <VOIPToken>sample string 4</VOIPToken> </CustomerSwitchCompanyRequestModel>
multipart/form-data
Sample:
<CustomerSwitchCompanyRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel"><APNSToken>sample string 5</APNSToken><CmmsCompanyID>2</CmmsCompanyID><CustomerID>1</CustomerID><CustomerUserName>sample string 1</CustomerUserName><DeviceType>sample string 3</DeviceType><FCNToken>sample string 6</FCNToken><VOIPToken>sample string 4</VOIPToken></CustomerSwitchCompanyRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of CustomerAuthenticateDataModelName | Description | Type | Additional information |
---|---|---|---|
CustomerID | integer |
None. |
|
CustomerCompanyID | integer |
None. |
|
CustomerCompanyName | string |
None. |
|
CustomerCode | string |
None. |
|
CustomerName | string |
None. |
|
IsSuccessAuthenticate | boolean |
None. |
|
IsSingleCompany | boolean |
None. |
|
APIKey | string |
None. |
|
IsStripeEnable | boolean |
None. |
|
IsEnableCardConnectPayment | boolean |
None. |
|
IsPaymentEnable | boolean |
None. |
|
FieldService | boolean |
None. |
|
DefaultIncidentType | integer |
None. |
|
CompanyList | Collection of CustomerCompanyList |
None. |
|
IsenablespeechLanguage | boolean |
None. |
|
SpeechLanguageOutput | string |
None. |
|
SpeechLanguageInput | string |
None. |
|
CategoryText | string |
None. |
|
MaintenanceTypeText | string |
None. |
|
ProjectText | string |
None. |
|
IntIsCustomWorkOrderScreen | integer |
None. |
|
AllowConcurrentUserLogin | boolean |
None. |
|
SystemSmallLogoURL | string |
None. |
|
SystemMediumLogoURL | string |
None. |
|
SystemBigLogoURL | string |
None. |
|
SystemLogoURL | string |
None. |
|
FaviconURL | string |
None. |
|
AppSmallLogo | string |
None. |
|
DomainNameOnlyForAPP | string |
None. |
|
isAllowOfflineLimit | boolean |
None. |
|
OfflineLimitCount | integer |
None. |
|
IsSalesOrderEnable | boolean |
None. |
|
IsFieldsSalesEnabled | boolean |
None. |
|
DefaultCurrencyID | integer |
None. |
|
DefaultCurrencyValue | string |
None. |
|
DefaultSOStatusID | integer |
None. |
|
DefaultTaxRateID | integer |
None. |
|
IsEnableQuotationChangeOrder | boolean |
None. |
|
CompanyDomainName | string |
None. |
|
CompanySubDomainName | string |
None. |
|
IsEnableCustomerPanelWOCompletionApproval | boolean |
None. |
|
WorkOrderText | string |
None. |
|
JobText | string |
None. |
|
IsEnable6digitWorkOrderNumber | boolean |
None. |
|
IsShowGeoLocationEstimationCostInWorkOrder | boolean |
None. |
|
IsRfpToQuotationConversionEnable | boolean |
None. |
|
IsOpportunityToProjectConversionEnable | boolean |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
[ { "customerID": 1, "customerCompanyID": 2, "customerCompanyName": "sample string 3", "customerCode": "sample string 4", "customerName": "sample string 5", "isSuccessAuthenticate": true, "isSingleCompany": true, "apiKey": "sample string 8", "isStripeEnable": true, "isEnableCardConnectPayment": true, "isPaymentEnable": true, "fieldService": true, "defaultIncidentType": 1, "companyList": [ { "cmmsCompanyID": 1, "companyName": "sample string 2" }, { "cmmsCompanyID": 1, "companyName": "sample string 2" } ], "isenablespeechLanguage": true, "speechLanguageOutput": "sample string 14", "speechLanguageInput": "sample string 15", "categoryText": "sample string 16", "maintenanceTypeText": "sample string 17", "projectText": "sample string 18", "intIsCustomWorkOrderScreen": 19, "allowConcurrentUserLogin": true, "systemSmallLogoURL": "sample string 21", "systemMediumLogoURL": "sample string 22", "systemBigLogoURL": "sample string 23", "systemLogoURL": "sample string 24", "faviconURL": "sample string 25", "appSmallLogo": "sample string 26", "domainNameOnlyForAPP": "sample string 27", "isAllowOfflineLimit": true, "offlineLimitCount": 29, "isSalesOrderEnable": true, "isFieldsSalesEnabled": true, "defaultCurrencyID": 32, "defaultCurrencyValue": "sample string 33", "defaultSOStatusID": 34, "defaultTaxRateID": 35, "isEnableQuotationChangeOrder": true, "companyDomainName": "sample string 37", "companySubDomainName": "sample string 38", "isEnableCustomerPanelWOCompletionApproval": true, "workOrderText": "sample string 40", "jobText": "sample string 41", "isEnable6digitWorkOrderNumber": true, "isShowGeoLocationEstimationCostInWorkOrder": true, "isRfpToQuotationConversionEnable": true, "isOpportunityToProjectConversionEnable": true }, { "customerID": 1, "customerCompanyID": 2, "customerCompanyName": "sample string 3", "customerCode": "sample string 4", "customerName": "sample string 5", "isSuccessAuthenticate": true, "isSingleCompany": true, "apiKey": "sample string 8", "isStripeEnable": true, "isEnableCardConnectPayment": true, "isPaymentEnable": true, "fieldService": true, "defaultIncidentType": 1, "companyList": [ { "cmmsCompanyID": 1, "companyName": "sample string 2" }, { "cmmsCompanyID": 1, "companyName": "sample string 2" } ], "isenablespeechLanguage": true, "speechLanguageOutput": "sample string 14", "speechLanguageInput": "sample string 15", "categoryText": "sample string 16", "maintenanceTypeText": "sample string 17", "projectText": "sample string 18", "intIsCustomWorkOrderScreen": 19, "allowConcurrentUserLogin": true, "systemSmallLogoURL": "sample string 21", "systemMediumLogoURL": "sample string 22", "systemBigLogoURL": "sample string 23", "systemLogoURL": "sample string 24", "faviconURL": "sample string 25", "appSmallLogo": "sample string 26", "domainNameOnlyForAPP": "sample string 27", "isAllowOfflineLimit": true, "offlineLimitCount": 29, "isSalesOrderEnable": true, "isFieldsSalesEnabled": true, "defaultCurrencyID": 32, "defaultCurrencyValue": "sample string 33", "defaultSOStatusID": 34, "defaultTaxRateID": 35, "isEnableQuotationChangeOrder": true, "companyDomainName": "sample string 37", "companySubDomainName": "sample string 38", "isEnableCustomerPanelWOCompletionApproval": true, "workOrderText": "sample string 40", "jobText": "sample string 41", "isEnable6digitWorkOrderNumber": true, "isShowGeoLocationEstimationCostInWorkOrder": true, "isRfpToQuotationConversionEnable": true, "isOpportunityToProjectConversionEnable": true } ]
application/xml, text/xml
Sample:
<ArrayOfCustomerAuthenticateDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"> <CustomerAuthenticateDataModel> <APIKey>sample string 8</APIKey> <AllowConcurrentUserLogin>true</AllowConcurrentUserLogin> <AppSmallLogo>sample string 26</AppSmallLogo> <CategoryText>sample string 16</CategoryText> <CompanyDomainName>sample string 37</CompanyDomainName> <CompanyList> <CustomerCompanyList> <CMMSCompanyID>1</CMMSCompanyID> <CompanyName>sample string 2</CompanyName> </CustomerCompanyList> <CustomerCompanyList> <CMMSCompanyID>1</CMMSCompanyID> <CompanyName>sample string 2</CompanyName> </CustomerCompanyList> </CompanyList> <CompanySubDomainName>sample string 38</CompanySubDomainName> <CustomerCode>sample string 4</CustomerCode> <CustomerCompanyID>2</CustomerCompanyID> <CustomerCompanyName>sample string 3</CustomerCompanyName> <CustomerID>1</CustomerID> <CustomerName>sample string 5</CustomerName> <DefaultCurrencyID>32</DefaultCurrencyID> <DefaultCurrencyValue>sample string 33</DefaultCurrencyValue> <DefaultIncidentType>1</DefaultIncidentType> <DefaultSOStatusID>34</DefaultSOStatusID> <DefaultTaxRateID>35</DefaultTaxRateID> <DomainNameOnlyForAPP>sample string 27</DomainNameOnlyForAPP> <FaviconURL>sample string 25</FaviconURL> <FieldService>true</FieldService> <IntIsCustomWorkOrderScreen>19</IntIsCustomWorkOrderScreen> <IsEnable6digitWorkOrderNumber>true</IsEnable6digitWorkOrderNumber> <IsEnableCardConnectPayment>true</IsEnableCardConnectPayment> <IsEnableCustomerPanelWOCompletionApproval>true</IsEnableCustomerPanelWOCompletionApproval> <IsEnableQuotationChangeOrder>true</IsEnableQuotationChangeOrder> <IsFieldsSalesEnabled>true</IsFieldsSalesEnabled> <IsOpportunityToProjectConversionEnable>true</IsOpportunityToProjectConversionEnable> <IsPaymentEnable>true</IsPaymentEnable> <IsRfpToQuotationConversionEnable>true</IsRfpToQuotationConversionEnable> <IsSalesOrderEnable>true</IsSalesOrderEnable> <IsShowGeoLocationEstimationCostInWorkOrder>true</IsShowGeoLocationEstimationCostInWorkOrder> <IsSingleCompany>true</IsSingleCompany> <IsStripeEnable>true</IsStripeEnable> <IsSuccessAuthenticate>true</IsSuccessAuthenticate> <IsenablespeechLanguage>true</IsenablespeechLanguage> <JobText>sample string 41</JobText> <MaintenanceTypeText>sample string 17</MaintenanceTypeText> <OfflineLimitCount>29</OfflineLimitCount> <ProjectText>sample string 18</ProjectText> <SpeechLanguageInput>sample string 15</SpeechLanguageInput> <SpeechLanguageOutput>sample string 14</SpeechLanguageOutput> <SystemBigLogoURL>sample string 23</SystemBigLogoURL> <SystemLogoURL>sample string 24</SystemLogoURL> <SystemMediumLogoURL>sample string 22</SystemMediumLogoURL> <SystemSmallLogoURL>sample string 21</SystemSmallLogoURL> <WorkOrderText>sample string 40</WorkOrderText> <isAllowOfflineLimit>true</isAllowOfflineLimit> </CustomerAuthenticateDataModel> <CustomerAuthenticateDataModel> <APIKey>sample string 8</APIKey> <AllowConcurrentUserLogin>true</AllowConcurrentUserLogin> <AppSmallLogo>sample string 26</AppSmallLogo> <CategoryText>sample string 16</CategoryText> <CompanyDomainName>sample string 37</CompanyDomainName> <CompanyList> <CustomerCompanyList> <CMMSCompanyID>1</CMMSCompanyID> <CompanyName>sample string 2</CompanyName> </CustomerCompanyList> <CustomerCompanyList> <CMMSCompanyID>1</CMMSCompanyID> <CompanyName>sample string 2</CompanyName> </CustomerCompanyList> </CompanyList> <CompanySubDomainName>sample string 38</CompanySubDomainName> <CustomerCode>sample string 4</CustomerCode> <CustomerCompanyID>2</CustomerCompanyID> <CustomerCompanyName>sample string 3</CustomerCompanyName> <CustomerID>1</CustomerID> <CustomerName>sample string 5</CustomerName> <DefaultCurrencyID>32</DefaultCurrencyID> <DefaultCurrencyValue>sample string 33</DefaultCurrencyValue> <DefaultIncidentType>1</DefaultIncidentType> <DefaultSOStatusID>34</DefaultSOStatusID> <DefaultTaxRateID>35</DefaultTaxRateID> <DomainNameOnlyForAPP>sample string 27</DomainNameOnlyForAPP> <FaviconURL>sample string 25</FaviconURL> <FieldService>true</FieldService> <IntIsCustomWorkOrderScreen>19</IntIsCustomWorkOrderScreen> <IsEnable6digitWorkOrderNumber>true</IsEnable6digitWorkOrderNumber> <IsEnableCardConnectPayment>true</IsEnableCardConnectPayment> <IsEnableCustomerPanelWOCompletionApproval>true</IsEnableCustomerPanelWOCompletionApproval> <IsEnableQuotationChangeOrder>true</IsEnableQuotationChangeOrder> <IsFieldsSalesEnabled>true</IsFieldsSalesEnabled> <IsOpportunityToProjectConversionEnable>true</IsOpportunityToProjectConversionEnable> <IsPaymentEnable>true</IsPaymentEnable> <IsRfpToQuotationConversionEnable>true</IsRfpToQuotationConversionEnable> <IsSalesOrderEnable>true</IsSalesOrderEnable> <IsShowGeoLocationEstimationCostInWorkOrder>true</IsShowGeoLocationEstimationCostInWorkOrder> <IsSingleCompany>true</IsSingleCompany> <IsStripeEnable>true</IsStripeEnable> <IsSuccessAuthenticate>true</IsSuccessAuthenticate> <IsenablespeechLanguage>true</IsenablespeechLanguage> <JobText>sample string 41</JobText> <MaintenanceTypeText>sample string 17</MaintenanceTypeText> <OfflineLimitCount>29</OfflineLimitCount> <ProjectText>sample string 18</ProjectText> <SpeechLanguageInput>sample string 15</SpeechLanguageInput> <SpeechLanguageOutput>sample string 14</SpeechLanguageOutput> <SystemBigLogoURL>sample string 23</SystemBigLogoURL> <SystemLogoURL>sample string 24</SystemLogoURL> <SystemMediumLogoURL>sample string 22</SystemMediumLogoURL> <SystemSmallLogoURL>sample string 21</SystemSmallLogoURL> <WorkOrderText>sample string 40</WorkOrderText> <isAllowOfflineLimit>true</isAllowOfflineLimit> </CustomerAuthenticateDataModel> </ArrayOfCustomerAuthenticateDataModel>
multipart/form-data
Sample:
<ArrayOfCustomerAuthenticateDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><CustomerAuthenticateDataModel><APIKey>sample string 8</APIKey><AllowConcurrentUserLogin>true</AllowConcurrentUserLogin><AppSmallLogo>sample string 26</AppSmallLogo><CategoryText>sample string 16</CategoryText><CompanyDomainName>sample string 37</CompanyDomainName><CompanyList><CustomerCompanyList><CMMSCompanyID>1</CMMSCompanyID><CompanyName>sample string 2</CompanyName></CustomerCompanyList><CustomerCompanyList><CMMSCompanyID>1</CMMSCompanyID><CompanyName>sample string 2</CompanyName></CustomerCompanyList></CompanyList><CompanySubDomainName>sample string 38</CompanySubDomainName><CustomerCode>sample string 4</CustomerCode><CustomerCompanyID>2</CustomerCompanyID><CustomerCompanyName>sample string 3</CustomerCompanyName><CustomerID>1</CustomerID><CustomerName>sample string 5</CustomerName><DefaultCurrencyID>32</DefaultCurrencyID><DefaultCurrencyValue>sample string 33</DefaultCurrencyValue><DefaultIncidentType>1</DefaultIncidentType><DefaultSOStatusID>34</DefaultSOStatusID><DefaultTaxRateID>35</DefaultTaxRateID><DomainNameOnlyForAPP>sample string 27</DomainNameOnlyForAPP><FaviconURL>sample string 25</FaviconURL><FieldService>true</FieldService><IntIsCustomWorkOrderScreen>19</IntIsCustomWorkOrderScreen><IsEnable6digitWorkOrderNumber>true</IsEnable6digitWorkOrderNumber><IsEnableCardConnectPayment>true</IsEnableCardConnectPayment><IsEnableCustomerPanelWOCompletionApproval>true</IsEnableCustomerPanelWOCompletionApproval><IsEnableQuotationChangeOrder>true</IsEnableQuotationChangeOrder><IsFieldsSalesEnabled>true</IsFieldsSalesEnabled><IsOpportunityToProjectConversionEnable>true</IsOpportunityToProjectConversionEnable><IsPaymentEnable>true</IsPaymentEnable><IsRfpToQuotationConversionEnable>true</IsRfpToQuotationConversionEnable><IsSalesOrderEnable>true</IsSalesOrderEnable><IsShowGeoLocationEstimationCostInWorkOrder>true</IsShowGeoLocationEstimationCostInWorkOrder><IsSingleCompany>true</IsSingleCompany><IsStripeEnable>true</IsStripeEnable><IsSuccessAuthenticate>true</IsSuccessAuthenticate><IsenablespeechLanguage>true</IsenablespeechLanguage><JobText>sample string 41</JobText><MaintenanceTypeText>sample string 17</MaintenanceTypeText><OfflineLimitCount>29</OfflineLimitCount><ProjectText>sample string 18</ProjectText><SpeechLanguageInput>sample string 15</SpeechLanguageInput><SpeechLanguageOutput>sample string 14</SpeechLanguageOutput><SystemBigLogoURL>sample string 23</SystemBigLogoURL><SystemLogoURL>sample string 24</SystemLogoURL><SystemMediumLogoURL>sample string 22</SystemMediumLogoURL><SystemSmallLogoURL>sample string 21</SystemSmallLogoURL><WorkOrderText>sample string 40</WorkOrderText><isAllowOfflineLimit>true</isAllowOfflineLimit></CustomerAuthenticateDataModel><CustomerAuthenticateDataModel><APIKey>sample string 8</APIKey><AllowConcurrentUserLogin>true</AllowConcurrentUserLogin><AppSmallLogo>sample string 26</AppSmallLogo><CategoryText>sample string 16</CategoryText><CompanyDomainName>sample string 37</CompanyDomainName><CompanyList><CustomerCompanyList><CMMSCompanyID>1</CMMSCompanyID><CompanyName>sample string 2</CompanyName></CustomerCompanyList><CustomerCompanyList><CMMSCompanyID>1</CMMSCompanyID><CompanyName>sample string 2</CompanyName></CustomerCompanyList></CompanyList><CompanySubDomainName>sample string 38</CompanySubDomainName><CustomerCode>sample string 4</CustomerCode><CustomerCompanyID>2</CustomerCompanyID><CustomerCompanyName>sample string 3</CustomerCompanyName><CustomerID>1</CustomerID><CustomerName>sample string 5</CustomerName><DefaultCurrencyID>32</DefaultCurrencyID><DefaultCurrencyValue>sample string 33</DefaultCurrencyValue><DefaultIncidentType>1</DefaultIncidentType><DefaultSOStatusID>34</DefaultSOStatusID><DefaultTaxRateID>35</DefaultTaxRateID><DomainNameOnlyForAPP>sample string 27</DomainNameOnlyForAPP><FaviconURL>sample string 25</FaviconURL><FieldService>true</FieldService><IntIsCustomWorkOrderScreen>19</IntIsCustomWorkOrderScreen><IsEnable6digitWorkOrderNumber>true</IsEnable6digitWorkOrderNumber><IsEnableCardConnectPayment>true</IsEnableCardConnectPayment><IsEnableCustomerPanelWOCompletionApproval>true</IsEnableCustomerPanelWOCompletionApproval><IsEnableQuotationChangeOrder>true</IsEnableQuotationChangeOrder><IsFieldsSalesEnabled>true</IsFieldsSalesEnabled><IsOpportunityToProjectConversionEnable>true</IsOpportunityToProjectConversionEnable><IsPaymentEnable>true</IsPaymentEnable><IsRfpToQuotationConversionEnable>true</IsRfpToQuotationConversionEnable><IsSalesOrderEnable>true</IsSalesOrderEnable><IsShowGeoLocationEstimationCostInWorkOrder>true</IsShowGeoLocationEstimationCostInWorkOrder><IsSingleCompany>true</IsSingleCompany><IsStripeEnable>true</IsStripeEnable><IsSuccessAuthenticate>true</IsSuccessAuthenticate><IsenablespeechLanguage>true</IsenablespeechLanguage><JobText>sample string 41</JobText><MaintenanceTypeText>sample string 17</MaintenanceTypeText><OfflineLimitCount>29</OfflineLimitCount><ProjectText>sample string 18</ProjectText><SpeechLanguageInput>sample string 15</SpeechLanguageInput><SpeechLanguageOutput>sample string 14</SpeechLanguageOutput><SystemBigLogoURL>sample string 23</SystemBigLogoURL><SystemLogoURL>sample string 24</SystemLogoURL><SystemMediumLogoURL>sample string 22</SystemMediumLogoURL><SystemSmallLogoURL>sample string 21</SystemSmallLogoURL><WorkOrderText>sample string 40</WorkOrderText><isAllowOfflineLimit>true</isAllowOfflineLimit></CustomerAuthenticateDataModel></ArrayOfCustomerAuthenticateDataModel>