GET api/CustomersData

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CustomersDataModel
NameDescriptionTypeAdditional information
Id

integer

None.

ProductsId

integer

None.

Domain

string

None.

IsActive

boolean

None.

CuData

string

None.

WebCustomersModel

WebCustomersModel

None.

WebCuModels

Collection of WebCuModelsModel

None.

WebClients

Collection of WebClientsModel

None.

WebRegModel

WebRegModel

None.

ProductModel

ProductModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ProductsId": 2,
    "Domain": "sample string 3",
    "IsActive": true,
    "CuData": "sample string 5",
    "WebCustomersModel": {
      "Id": 1,
      "CustomerId": 2,
      "ManagerName": "sample string 3",
      "NationalCode": "sample string 4",
      "Phone": "sample string 5",
      "Mobile": "sample string 6",
      "Address": "sample string 7",
      "Email": "sample string 8",
      "CompanyName": "sample string 9",
      "PostalCode": "sample string 10",
      "ApiUrl": "sample string 11",
      "HostIP": "sample string 12"
    },
    "WebCuModels": [
      {
        "Id": 1,
        "CustomerId": 2,
        "ModelsId": 3,
        "WebModelsModel": {
          "Id": 1,
          "ProductsId": 2,
          "ModelName": "sample string 3",
          "ModelCode": "sample string 4",
          "ModelPrice": 5.0
        }
      },
      {
        "Id": 1,
        "CustomerId": 2,
        "ModelsId": 3,
        "WebModelsModel": {
          "Id": 1,
          "ProductsId": 2,
          "ModelName": "sample string 3",
          "ModelCode": "sample string 4",
          "ModelPrice": 5.0
        }
      }
    ],
    "WebClients": [
      {
        "Id": 1,
        "CustomerId": 2,
        "ProjectCenterId": 3,
        "ManagerName": "sample string 4",
        "Mobile": "sample string 5",
        "Address": "sample string 6",
        "ClientName": "sample string 7",
        "Domain": "sample string 8",
        "HostIP": "sample string 9"
      },
      {
        "Id": 1,
        "CustomerId": 2,
        "ProjectCenterId": 3,
        "ManagerName": "sample string 4",
        "Mobile": "sample string 5",
        "Address": "sample string 6",
        "ClientName": "sample string 7",
        "Domain": "sample string 8",
        "HostIP": "sample string 9"
      }
    ],
    "WebRegModel": {
      "Id": 1,
      "CustomerId": 2,
      "InstallaionDate": "sample string 3",
      "RegDate": "sample string 4"
    },
    "ProductModel": {
      "ID": 1,
      "Name": "sample string 2",
      "Price": 3.0,
      "WarantyPercent": 4,
      "Code": "sample string 5",
      "ClientPrice": 6.0,
      "SoftwareModels": [
        {
          "ID": 1,
          "ProductID": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "WarantyPercent": 5,
          "Sharh": "sample string 6"
        },
        {
          "ID": 1,
          "ProductID": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "WarantyPercent": 5,
          "Sharh": "sample string 6"
        }
      ]
    }
  },
  {
    "Id": 1,
    "ProductsId": 2,
    "Domain": "sample string 3",
    "IsActive": true,
    "CuData": "sample string 5",
    "WebCustomersModel": {
      "Id": 1,
      "CustomerId": 2,
      "ManagerName": "sample string 3",
      "NationalCode": "sample string 4",
      "Phone": "sample string 5",
      "Mobile": "sample string 6",
      "Address": "sample string 7",
      "Email": "sample string 8",
      "CompanyName": "sample string 9",
      "PostalCode": "sample string 10",
      "ApiUrl": "sample string 11",
      "HostIP": "sample string 12"
    },
    "WebCuModels": [
      {
        "Id": 1,
        "CustomerId": 2,
        "ModelsId": 3,
        "WebModelsModel": {
          "Id": 1,
          "ProductsId": 2,
          "ModelName": "sample string 3",
          "ModelCode": "sample string 4",
          "ModelPrice": 5.0
        }
      },
      {
        "Id": 1,
        "CustomerId": 2,
        "ModelsId": 3,
        "WebModelsModel": {
          "Id": 1,
          "ProductsId": 2,
          "ModelName": "sample string 3",
          "ModelCode": "sample string 4",
          "ModelPrice": 5.0
        }
      }
    ],
    "WebClients": [
      {
        "Id": 1,
        "CustomerId": 2,
        "ProjectCenterId": 3,
        "ManagerName": "sample string 4",
        "Mobile": "sample string 5",
        "Address": "sample string 6",
        "ClientName": "sample string 7",
        "Domain": "sample string 8",
        "HostIP": "sample string 9"
      },
      {
        "Id": 1,
        "CustomerId": 2,
        "ProjectCenterId": 3,
        "ManagerName": "sample string 4",
        "Mobile": "sample string 5",
        "Address": "sample string 6",
        "ClientName": "sample string 7",
        "Domain": "sample string 8",
        "HostIP": "sample string 9"
      }
    ],
    "WebRegModel": {
      "Id": 1,
      "CustomerId": 2,
      "InstallaionDate": "sample string 3",
      "RegDate": "sample string 4"
    },
    "ProductModel": {
      "ID": 1,
      "Name": "sample string 2",
      "Price": 3.0,
      "WarantyPercent": 4,
      "Code": "sample string 5",
      "ClientPrice": 6.0,
      "SoftwareModels": [
        {
          "ID": 1,
          "ProductID": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "WarantyPercent": 5,
          "Sharh": "sample string 6"
        },
        {
          "ID": 1,
          "ProductID": 2,
          "Name": "sample string 3",
          "Price": 4.0,
          "WarantyPercent": 5,
          "Sharh": "sample string 6"
        }
      ]
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomersDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NoghostarModels.Models.WebModels">
  <CustomersDataModel>
    <CuData>sample string 5</CuData>
    <Domain>sample string 3</Domain>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <ProductModel xmlns:d3p1="http://schemas.datacontract.org/2004/07/NoghostarModels.Models">
      <d3p1:ClientPrice>6</d3p1:ClientPrice>
      <d3p1:Code>sample string 5</d3p1:Code>
      <d3p1:ID>1</d3p1:ID>
      <d3p1:Name>sample string 2</d3p1:Name>
      <d3p1:Price>3</d3p1:Price>
      <d3p1:SoftwareModels>
        <d3p1:SoftwareModelsModel>
          <d3p1:ID>1</d3p1:ID>
          <d3p1:Name>sample string 3</d3p1:Name>
          <d3p1:Price>4</d3p1:Price>
          <d3p1:ProductID>2</d3p1:ProductID>
          <d3p1:Sharh>sample string 6</d3p1:Sharh>
          <d3p1:WarantyPercent>5</d3p1:WarantyPercent>
        </d3p1:SoftwareModelsModel>
        <d3p1:SoftwareModelsModel>
          <d3p1:ID>1</d3p1:ID>
          <d3p1:Name>sample string 3</d3p1:Name>
          <d3p1:Price>4</d3p1:Price>
          <d3p1:ProductID>2</d3p1:ProductID>
          <d3p1:Sharh>sample string 6</d3p1:Sharh>
          <d3p1:WarantyPercent>5</d3p1:WarantyPercent>
        </d3p1:SoftwareModelsModel>
      </d3p1:SoftwareModels>
      <d3p1:WarantyPercent>4</d3p1:WarantyPercent>
    </ProductModel>
    <ProductsId>2</ProductsId>
    <WebClients>
      <WebClientsModel>
        <Address>sample string 6</Address>
        <ClientName>sample string 7</ClientName>
        <CustomerId>2</CustomerId>
        <Domain>sample string 8</Domain>
        <HostIP>sample string 9</HostIP>
        <Id>1</Id>
        <ManagerName>sample string 4</ManagerName>
        <Mobile>sample string 5</Mobile>
        <ProjectCenterId>3</ProjectCenterId>
      </WebClientsModel>
      <WebClientsModel>
        <Address>sample string 6</Address>
        <ClientName>sample string 7</ClientName>
        <CustomerId>2</CustomerId>
        <Domain>sample string 8</Domain>
        <HostIP>sample string 9</HostIP>
        <Id>1</Id>
        <ManagerName>sample string 4</ManagerName>
        <Mobile>sample string 5</Mobile>
        <ProjectCenterId>3</ProjectCenterId>
      </WebClientsModel>
    </WebClients>
    <WebCuModels>
      <WebCuModelsModel>
        <CustomerId>2</CustomerId>
        <Id>1</Id>
        <ModelsId>3</ModelsId>
        <WebModelsModel>
          <Id>1</Id>
          <ModelCode>sample string 4</ModelCode>
          <ModelName>sample string 3</ModelName>
          <ModelPrice>5</ModelPrice>
          <ProductsId>2</ProductsId>
        </WebModelsModel>
      </WebCuModelsModel>
      <WebCuModelsModel>
        <CustomerId>2</CustomerId>
        <Id>1</Id>
        <ModelsId>3</ModelsId>
        <WebModelsModel>
          <Id>1</Id>
          <ModelCode>sample string 4</ModelCode>
          <ModelName>sample string 3</ModelName>
          <ModelPrice>5</ModelPrice>
          <ProductsId>2</ProductsId>
        </WebModelsModel>
      </WebCuModelsModel>
    </WebCuModels>
    <WebCustomersModel>
      <Address>sample string 7</Address>
      <ApiUrl>sample string 11</ApiUrl>
      <CompanyName>sample string 9</CompanyName>
      <CustomerId>2</CustomerId>
      <Email>sample string 8</Email>
      <HostIP>sample string 12</HostIP>
      <Id>1</Id>
      <ManagerName>sample string 3</ManagerName>
      <Mobile>sample string 6</Mobile>
      <NationalCode>sample string 4</NationalCode>
      <Phone>sample string 5</Phone>
      <PostalCode>sample string 10</PostalCode>
    </WebCustomersModel>
    <WebRegModel>
      <CustomerId>2</CustomerId>
      <Id>1</Id>
      <InstallaionDate>sample string 3</InstallaionDate>
      <RegDate>sample string 4</RegDate>
    </WebRegModel>
  </CustomersDataModel>
  <CustomersDataModel>
    <CuData>sample string 5</CuData>
    <Domain>sample string 3</Domain>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <ProductModel xmlns:d3p1="http://schemas.datacontract.org/2004/07/NoghostarModels.Models">
      <d3p1:ClientPrice>6</d3p1:ClientPrice>
      <d3p1:Code>sample string 5</d3p1:Code>
      <d3p1:ID>1</d3p1:ID>
      <d3p1:Name>sample string 2</d3p1:Name>
      <d3p1:Price>3</d3p1:Price>
      <d3p1:SoftwareModels>
        <d3p1:SoftwareModelsModel>
          <d3p1:ID>1</d3p1:ID>
          <d3p1:Name>sample string 3</d3p1:Name>
          <d3p1:Price>4</d3p1:Price>
          <d3p1:ProductID>2</d3p1:ProductID>
          <d3p1:Sharh>sample string 6</d3p1:Sharh>
          <d3p1:WarantyPercent>5</d3p1:WarantyPercent>
        </d3p1:SoftwareModelsModel>
        <d3p1:SoftwareModelsModel>
          <d3p1:ID>1</d3p1:ID>
          <d3p1:Name>sample string 3</d3p1:Name>
          <d3p1:Price>4</d3p1:Price>
          <d3p1:ProductID>2</d3p1:ProductID>
          <d3p1:Sharh>sample string 6</d3p1:Sharh>
          <d3p1:WarantyPercent>5</d3p1:WarantyPercent>
        </d3p1:SoftwareModelsModel>
      </d3p1:SoftwareModels>
      <d3p1:WarantyPercent>4</d3p1:WarantyPercent>
    </ProductModel>
    <ProductsId>2</ProductsId>
    <WebClients>
      <WebClientsModel>
        <Address>sample string 6</Address>
        <ClientName>sample string 7</ClientName>
        <CustomerId>2</CustomerId>
        <Domain>sample string 8</Domain>
        <HostIP>sample string 9</HostIP>
        <Id>1</Id>
        <ManagerName>sample string 4</ManagerName>
        <Mobile>sample string 5</Mobile>
        <ProjectCenterId>3</ProjectCenterId>
      </WebClientsModel>
      <WebClientsModel>
        <Address>sample string 6</Address>
        <ClientName>sample string 7</ClientName>
        <CustomerId>2</CustomerId>
        <Domain>sample string 8</Domain>
        <HostIP>sample string 9</HostIP>
        <Id>1</Id>
        <ManagerName>sample string 4</ManagerName>
        <Mobile>sample string 5</Mobile>
        <ProjectCenterId>3</ProjectCenterId>
      </WebClientsModel>
    </WebClients>
    <WebCuModels>
      <WebCuModelsModel>
        <CustomerId>2</CustomerId>
        <Id>1</Id>
        <ModelsId>3</ModelsId>
        <WebModelsModel>
          <Id>1</Id>
          <ModelCode>sample string 4</ModelCode>
          <ModelName>sample string 3</ModelName>
          <ModelPrice>5</ModelPrice>
          <ProductsId>2</ProductsId>
        </WebModelsModel>
      </WebCuModelsModel>
      <WebCuModelsModel>
        <CustomerId>2</CustomerId>
        <Id>1</Id>
        <ModelsId>3</ModelsId>
        <WebModelsModel>
          <Id>1</Id>
          <ModelCode>sample string 4</ModelCode>
          <ModelName>sample string 3</ModelName>
          <ModelPrice>5</ModelPrice>
          <ProductsId>2</ProductsId>
        </WebModelsModel>
      </WebCuModelsModel>
    </WebCuModels>
    <WebCustomersModel>
      <Address>sample string 7</Address>
      <ApiUrl>sample string 11</ApiUrl>
      <CompanyName>sample string 9</CompanyName>
      <CustomerId>2</CustomerId>
      <Email>sample string 8</Email>
      <HostIP>sample string 12</HostIP>
      <Id>1</Id>
      <ManagerName>sample string 3</ManagerName>
      <Mobile>sample string 6</Mobile>
      <NationalCode>sample string 4</NationalCode>
      <Phone>sample string 5</Phone>
      <PostalCode>sample string 10</PostalCode>
    </WebCustomersModel>
    <WebRegModel>
      <CustomerId>2</CustomerId>
      <Id>1</Id>
      <InstallaionDate>sample string 3</InstallaionDate>
      <RegDate>sample string 4</RegDate>
    </WebRegModel>
  </CustomersDataModel>
</ArrayOfCustomersDataModel>