GET Api/CallCenter/List

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResultOfListOfCallCenterModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

ErrorMessage

Collection of string

None.

Value

Collection of CallCenterModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "ErrorMessage": [
    "sample string 1",
    "sample string 2"
  ],
  "Value": [
    {
      "CallCenterID": 1,
      "CallCenterCode": "sample string 2",
      "CallCenterName": "sample string 3",
      "IsActive": true
    },
    {
      "CallCenterID": 1,
      "CallCenterCode": "sample string 2",
      "CallCenterName": "sample string 3",
      "IsActive": true
    }
  ]
}

application/xml, text/xml

Sample:
<ResultOfArrayOfCallCenterModelLkXIf9lI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.Common.Returns">
  <ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorMessage>
  <Message>sample string 2</Message>
  <Success>true</Success>
  <Value xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.NewCallCenters.Objects">
    <d2p1:CallCenterModel>
      <d2p1:CallCenterCode>sample string 2</d2p1:CallCenterCode>
      <d2p1:CallCenterID>1</d2p1:CallCenterID>
      <d2p1:CallCenterName>sample string 3</d2p1:CallCenterName>
      <d2p1:IsActive>true</d2p1:IsActive>
    </d2p1:CallCenterModel>
    <d2p1:CallCenterModel>
      <d2p1:CallCenterCode>sample string 2</d2p1:CallCenterCode>
      <d2p1:CallCenterID>1</d2p1:CallCenterID>
      <d2p1:CallCenterName>sample string 3</d2p1:CallCenterName>
      <d2p1:IsActive>true</d2p1:IsActive>
    </d2p1:CallCenterModel>
  </Value>
</ResultOfArrayOfCallCenterModelLkXIf9lI>