GET api/SAIUserOption/{accountId}/{companyId}/{userId}/{userName}/{templateId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

companyId

string

Required

userId

string

Required

userName

string

Required

templateId

string

Required

Body Parameters

None.

Response Information

Resource Description

SAIUserOption
NameDescriptionTypeAdditional information
AccountId

integer

None.

CompanyId

string

None.

TemplateId

string

None.

UserId

integer

None.

UserName

string

None.

TemplateName

string

None.

IsDefault

boolean

None.

OptionJSONData

string

None.

IsDefaultFromSales

boolean

None.

OptionData

OptionData

None.

IsGlobalTemplate

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "CompanyId": "sample string 2",
  "TemplateId": "sample string 3",
  "UserId": 4,
  "UserName": "sample string 5",
  "TemplateName": "sample string 6",
  "IsDefault": true,
  "OptionJSONData": "sample string 8",
  "IsDefaultFromSales": true,
  "OptionData": {
    "GeneralInfoSetting": {
      "CallRunningLate": 1,
      "ShowColorSetting": {
        "BackColor": "sample string 1",
        "TextColor": "sample string 2"
      },
      "ShowCallsCompletedForTech": true,
      "BoardStartTime": "sample string 2",
      "AutoRefresh": true,
      "ShowCallInfoPopup": true,
      "RefreshInterval": "sample string 5",
      "CallTabs": [
        {
          "IsSelected": true,
          "Name": "sample string 2",
          "Asc": true,
          "FieldName": "sample string 4"
        },
        {
          "IsSelected": true,
          "Name": "sample string 2",
          "Asc": true,
          "FieldName": "sample string 4"
        }
      ]
    },
    "UnAssignedCalls": {
      "ShowAllLocDept": true,
      "ShowForLocDept": [
        "sample string 1",
        "sample string 2"
      ],
      "ShowAllDivision": true,
      "ShowForDivision": [
        "sample string 1",
        "sample string 2"
      ],
      "ShowAllZone": true,
      "ShowForZone": [
        "sample string 1",
        "sample string 2"
      ],
      "CallViewType": "sample string 4",
      "AllCalls": true,
      "CallFilters": [
        {
          "FieldName": "sample string 1",
          "Operator": 1,
          "Value": "sample string 2",
          "AndOr": 1
        },
        {
          "FieldName": "sample string 1",
          "Operator": 1,
          "Value": "sample string 2",
          "AndOr": 1
        }
      ],
      "CustomizeAddress": {
        "Bottom": [
          {
            "SelectedElement": "sample string 1",
            "Width": "sample string 2"
          },
          {
            "SelectedElement": "sample string 1",
            "Width": "sample string 2"
          }
        ],
        "Top": [
          {
            "SelectedElement": "sample string 1",
            "Width": "sample string 2"
          },
          {
            "SelectedElement": "sample string 1",
            "Width": "sample string 2"
          }
        ]
      },
      "IgnoreServiceDate": true
    },
    "AssignedCalls": {
      "CustomizeAddress": {
        "Bottom": [
          {
            "SelectedElement": "sample string 1",
            "Width": "sample string 2"
          },
          {
            "SelectedElement": "sample string 1",
            "Width": "sample string 2"
          }
        ],
        "Top": [
          {
            "SelectedElement": "sample string 1",
            "Width": "sample string 2"
          },
          {
            "SelectedElement": "sample string 1",
            "Width": "sample string 2"
          }
        ]
      },
      "None": true,
      "LastMinute": true,
      "TimeExceeds": true,
      "Minutes": 4
    },
    "Employeees": {
      "ShowAllTechnicians": true,
      "ShowTechnicians": true,
      "ShowSpecificTechnicians": [
        "sample string 1",
        "sample string 2"
      ],
      "ShowSalesMens": true,
      "ShowAllSalesMens": true,
      "ShowSpecificSalesMan": [
        "sample string 1",
        "sample string 2"
      ],
      "AllZone": true,
      "ShowOnlyZone": [
        "sample string 1",
        "sample string 2"
      ],
      "AllTrade": true,
      "ShowOnlyTrade": [
        "sample string 1",
        "sample string 2"
      ],
      "AllTechLevel": true,
      "ShowOnlyTechLevel": [
        "sample string 1",
        "sample string 2"
      ]
    },
    "PopupInfo": [
      {
        "IsSelected": true,
        "Name": "sample string 2",
        "Asc": true,
        "FieldName": "sample string 4"
      },
      {
        "IsSelected": true,
        "Name": "sample string 2",
        "Asc": true,
        "FieldName": "sample string 4"
      }
    ],
    "SortOption": {
      "UnassignedCalls": [
        {
          "IsSelected": true,
          "Name": "sample string 2",
          "Asc": true,
          "FieldName": "sample string 4"
        },
        {
          "IsSelected": true,
          "Name": "sample string 2",
          "Asc": true,
          "FieldName": "sample string 4"
        }
      ],
      "TechSort": [
        {
          "IsSelected": true,
          "Name": "sample string 2",
          "Asc": true,
          "FieldName": "sample string 4"
        },
        {
          "IsSelected": true,
          "Name": "sample string 2",
          "Asc": true,
          "FieldName": "sample string 4"
        }
      ],
      "SalesmenSortOptions": [
        {
          "IsSelected": true,
          "Name": "sample string 2",
          "Asc": true,
          "FieldName": "sample string 4"
        },
        {
          "IsSelected": true,
          "Name": "sample string 2",
          "Asc": true,
          "FieldName": "sample string 4"
        }
      ]
    },
    "SalesCall": {
      "AllCalls": true,
      "CallSortOptions": [
        {
          "IsSelected": true,
          "Name": "sample string 2",
          "Asc": true,
          "FieldName": "sample string 4"
        },
        {
          "IsSelected": true,
          "Name": "sample string 2",
          "Asc": true,
          "FieldName": "sample string 4"
        }
      ],
      "CustomizeAddress": {
        "Bottom": [
          {
            "SelectedElement": "sample string 1",
            "Width": "sample string 2"
          },
          {
            "SelectedElement": "sample string 1",
            "Width": "sample string 2"
          }
        ],
        "Top": [
          {
            "SelectedElement": "sample string 1",
            "Width": "sample string 2"
          },
          {
            "SelectedElement": "sample string 1",
            "Width": "sample string 2"
          }
        ]
      },
      "CallFilters": [
        {
          "FieldName": "sample string 1",
          "Operator": 1,
          "Value": "sample string 2",
          "AndOr": 1
        },
        {
          "FieldName": "sample string 1",
          "Operator": 1,
          "Value": "sample string 2",
          "AndOr": 1
        }
      ]
    }
  },
  "IsGlobalTemplate": true
}

application/xml, text/xml

Sample:
<SAIUserOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SAI">
  <AccountId>1</AccountId>
  <CompanyId>sample string 2</CompanyId>
  <IsDefault>true</IsDefault>
  <IsDefaultFromSales>true</IsDefaultFromSales>
  <IsGlobalTemplate>true</IsGlobalTemplate>
  <OptionData>
    <AssignedCalls>
      <CustomizeAddress>
        <Bottom>
          <AddressConfig>
            <SelectedElement>sample string 1</SelectedElement>
            <Width>sample string 2</Width>
          </AddressConfig>
          <AddressConfig>
            <SelectedElement>sample string 1</SelectedElement>
            <Width>sample string 2</Width>
          </AddressConfig>
        </Bottom>
        <Top>
          <AddressConfig>
            <SelectedElement>sample string 1</SelectedElement>
            <Width>sample string 2</Width>
          </AddressConfig>
          <AddressConfig>
            <SelectedElement>sample string 1</SelectedElement>
            <Width>sample string 2</Width>
          </AddressConfig>
        </Top>
      </CustomizeAddress>
      <LastMinute>true</LastMinute>
      <Minutes>4</Minutes>
      <None>true</None>
      <TimeExceeds>true</TimeExceeds>
    </AssignedCalls>
    <Employeees>
      <AllTechLevel>true</AllTechLevel>
      <AllTrade>true</AllTrade>
      <AllZone>true</AllZone>
      <ShowAllSalesMens>true</ShowAllSalesMens>
      <ShowAllTechnicians>true</ShowAllTechnicians>
      <ShowOnlyTechLevel xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ShowOnlyTechLevel>
      <ShowOnlyTrade xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ShowOnlyTrade>
      <ShowOnlyZone xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ShowOnlyZone>
      <ShowSalesMens>true</ShowSalesMens>
      <ShowSpecificSalesMan xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ShowSpecificSalesMan>
      <ShowSpecificTechnicians xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ShowSpecificTechnicians>
      <ShowTechnicians>true</ShowTechnicians>
    </Employeees>
    <GeneralInfoSetting>
      <AutoRefresh>true</AutoRefresh>
      <BoardStartTime>sample string 2</BoardStartTime>
      <CallRunningLate>Blink</CallRunningLate>
      <CallTabs>
        <MultiSelectSortOptions>
          <Asc>true</Asc>
          <FieldName>sample string 4</FieldName>
          <IsSelected>true</IsSelected>
          <Name>sample string 2</Name>
        </MultiSelectSortOptions>
        <MultiSelectSortOptions>
          <Asc>true</Asc>
          <FieldName>sample string 4</FieldName>
          <IsSelected>true</IsSelected>
          <Name>sample string 2</Name>
        </MultiSelectSortOptions>
      </CallTabs>
      <RefreshInterval>sample string 5</RefreshInterval>
      <ShowCallInfoPopup>true</ShowCallInfoPopup>
      <ShowCallsCompletedForTech>true</ShowCallsCompletedForTech>
      <ShowColorSetting>
        <BackColor>sample string 1</BackColor>
        <TextColor>sample string 2</TextColor>
      </ShowColorSetting>
    </GeneralInfoSetting>
    <PopupInfo>
      <MultiSelectSortOptions>
        <Asc>true</Asc>
        <FieldName>sample string 4</FieldName>
        <IsSelected>true</IsSelected>
        <Name>sample string 2</Name>
      </MultiSelectSortOptions>
      <MultiSelectSortOptions>
        <Asc>true</Asc>
        <FieldName>sample string 4</FieldName>
        <IsSelected>true</IsSelected>
        <Name>sample string 2</Name>
      </MultiSelectSortOptions>
    </PopupInfo>
    <SalesCall>
      <AllCalls>true</AllCalls>
      <CallFilters>
        <CallFilter>
          <AndOr>And</AndOr>
          <FieldName>sample string 1</FieldName>
          <Operator>Equals</Operator>
          <Value>sample string 2</Value>
        </CallFilter>
        <CallFilter>
          <AndOr>And</AndOr>
          <FieldName>sample string 1</FieldName>
          <Operator>Equals</Operator>
          <Value>sample string 2</Value>
        </CallFilter>
      </CallFilters>
      <CallSortOptions>
        <MultiSelectSortOptions>
          <Asc>true</Asc>
          <FieldName>sample string 4</FieldName>
          <IsSelected>true</IsSelected>
          <Name>sample string 2</Name>
        </MultiSelectSortOptions>
        <MultiSelectSortOptions>
          <Asc>true</Asc>
          <FieldName>sample string 4</FieldName>
          <IsSelected>true</IsSelected>
          <Name>sample string 2</Name>
        </MultiSelectSortOptions>
      </CallSortOptions>
      <CustomizeAddress>
        <Bottom>
          <AddressConfig>
            <SelectedElement>sample string 1</SelectedElement>
            <Width>sample string 2</Width>
          </AddressConfig>
          <AddressConfig>
            <SelectedElement>sample string 1</SelectedElement>
            <Width>sample string 2</Width>
          </AddressConfig>
        </Bottom>
        <Top>
          <AddressConfig>
            <SelectedElement>sample string 1</SelectedElement>
            <Width>sample string 2</Width>
          </AddressConfig>
          <AddressConfig>
            <SelectedElement>sample string 1</SelectedElement>
            <Width>sample string 2</Width>
          </AddressConfig>
        </Top>
      </CustomizeAddress>
    </SalesCall>
    <SortOption>
      <SalesmenSortOptions>
        <MultiSelectSortOptions>
          <Asc>true</Asc>
          <FieldName>sample string 4</FieldName>
          <IsSelected>true</IsSelected>
          <Name>sample string 2</Name>
        </MultiSelectSortOptions>
        <MultiSelectSortOptions>
          <Asc>true</Asc>
          <FieldName>sample string 4</FieldName>
          <IsSelected>true</IsSelected>
          <Name>sample string 2</Name>
        </MultiSelectSortOptions>
      </SalesmenSortOptions>
      <TechSort>
        <MultiSelectSortOptions>
          <Asc>true</Asc>
          <FieldName>sample string 4</FieldName>
          <IsSelected>true</IsSelected>
          <Name>sample string 2</Name>
        </MultiSelectSortOptions>
        <MultiSelectSortOptions>
          <Asc>true</Asc>
          <FieldName>sample string 4</FieldName>
          <IsSelected>true</IsSelected>
          <Name>sample string 2</Name>
        </MultiSelectSortOptions>
      </TechSort>
      <UnassignedCalls>
        <MultiSelectSortOptions>
          <Asc>true</Asc>
          <FieldName>sample string 4</FieldName>
          <IsSelected>true</IsSelected>
          <Name>sample string 2</Name>
        </MultiSelectSortOptions>
        <MultiSelectSortOptions>
          <Asc>true</Asc>
          <FieldName>sample string 4</FieldName>
          <IsSelected>true</IsSelected>
          <Name>sample string 2</Name>
        </MultiSelectSortOptions>
      </UnassignedCalls>
    </SortOption>
    <UnAssignedCalls>
      <AllCalls>true</AllCalls>
      <CallFilters>
        <CallFilter>
          <AndOr>And</AndOr>
          <FieldName>sample string 1</FieldName>
          <Operator>Equals</Operator>
          <Value>sample string 2</Value>
        </CallFilter>
        <CallFilter>
          <AndOr>And</AndOr>
          <FieldName>sample string 1</FieldName>
          <Operator>Equals</Operator>
          <Value>sample string 2</Value>
        </CallFilter>
      </CallFilters>
      <CallViewType>sample string 4</CallViewType>
      <CustomizeAddress>
        <Bottom>
          <AddressConfig>
            <SelectedElement>sample string 1</SelectedElement>
            <Width>sample string 2</Width>
          </AddressConfig>
          <AddressConfig>
            <SelectedElement>sample string 1</SelectedElement>
            <Width>sample string 2</Width>
          </AddressConfig>
        </Bottom>
        <Top>
          <AddressConfig>
            <SelectedElement>sample string 1</SelectedElement>
            <Width>sample string 2</Width>
          </AddressConfig>
          <AddressConfig>
            <SelectedElement>sample string 1</SelectedElement>
            <Width>sample string 2</Width>
          </AddressConfig>
        </Top>
      </CustomizeAddress>
      <IgnoreServiceDate>true</IgnoreServiceDate>
      <ShowAllDivision>true</ShowAllDivision>
      <ShowAllLocDept>true</ShowAllLocDept>
      <ShowAllZone>true</ShowAllZone>
      <ShowForDivision xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ShowForDivision>
      <ShowForLocDept xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ShowForLocDept>
      <ShowForZone xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ShowForZone>
    </UnAssignedCalls>
  </OptionData>
  <OptionJSONData>sample string 8</OptionJSONData>
  <TemplateId>sample string 3</TemplateId>
  <TemplateName>sample string 6</TemplateName>
  <UserId>4</UserId>
  <UserName>sample string 5</UserName>
</SAIUserOption>