GET api/data2/{typ}/{terid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
typ

integer

Required

terid

integer

Required

Body Parameters

None.

Response Information

Resource Description

SentData
NameDescriptionTypeAdditional information
Data

Collection of Data

None.

Organ

Collection of Organ

None.

Phone

Collection of Phone

None.

Terid

integer

None.

Typ

integer

None.

Sol

integer

None.

Moh

integer

None.

UserId

integer

None.

HasData

boolean

None.

Hash

string

None.

IsFinish

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "ID": 1,
      "IdHH": 2,
      "IdOrg": 3,
      "IdClass": 4,
      "GUID": "sample string 5",
      "C01": 6.0,
      "C02": 7.0,
      "C03": 8.0,
      "C04": 9.0,
      "Status": 10
    },
    {
      "ID": 1,
      "IdHH": 2,
      "IdOrg": 3,
      "IdClass": 4,
      "GUID": "sample string 5",
      "C01": 6.0,
      "C02": 7.0,
      "C03": 8.0,
      "C04": 9.0,
      "Status": 10
    }
  ],
  "Organ": [
    {
      "ID": 1,
      "IdHH": 2,
      "GUID": "sample string 3",
      "Moh": 4,
      "Sol": 5,
      "Typ": 6,
      "Status": 7
    },
    {
      "ID": 1,
      "IdHH": 2,
      "GUID": "sample string 3",
      "Moh": 4,
      "Sol": 5,
      "Typ": 6,
      "Status": 7
    }
  ],
  "Phone": [
    {
      "IdHH": 1,
      "Number": "sample string 2",
      "Status": 3
    },
    {
      "IdHH": 1,
      "Number": "sample string 2",
      "Status": 3
    }
  ],
  "Terid": 1,
  "Typ": 2,
  "Sol": 3,
  "Moh": 4,
  "UserId": 5,
  "HasData": true,
  "Hash": "sample string 7",
  "IsFinish": true
}

application/xml, text/xml

Sample:
<SentData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgroSurveyAPI">
  <Data>
    <Data>
      <C01>6</C01>
      <C02>7</C02>
      <C03>8</C03>
      <C04>9</C04>
      <GUID>sample string 5</GUID>
      <ID>1</ID>
      <IdClass>4</IdClass>
      <IdHH>2</IdHH>
      <IdOrg>3</IdOrg>
      <Status>10</Status>
    </Data>
    <Data>
      <C01>6</C01>
      <C02>7</C02>
      <C03>8</C03>
      <C04>9</C04>
      <GUID>sample string 5</GUID>
      <ID>1</ID>
      <IdClass>4</IdClass>
      <IdHH>2</IdHH>
      <IdOrg>3</IdOrg>
      <Status>10</Status>
    </Data>
  </Data>
  <HasData>true</HasData>
  <Hash>sample string 7</Hash>
  <IsFinish>true</IsFinish>
  <Moh>4</Moh>
  <Organ>
    <Organ>
      <GUID>sample string 3</GUID>
      <ID>1</ID>
      <IdHH>2</IdHH>
      <Moh>4</Moh>
      <Sol>5</Sol>
      <Status>7</Status>
      <Typ>6</Typ>
    </Organ>
    <Organ>
      <GUID>sample string 3</GUID>
      <ID>1</ID>
      <IdHH>2</IdHH>
      <Moh>4</Moh>
      <Sol>5</Sol>
      <Status>7</Status>
      <Typ>6</Typ>
    </Organ>
  </Organ>
  <Phone>
    <Phone>
      <IdHH>1</IdHH>
      <Number>sample string 2</Number>
      <Status>3</Status>
    </Phone>
    <Phone>
      <IdHH>1</IdHH>
      <Number>sample string 2</Number>
      <Status>3</Status>
    </Phone>
  </Phone>
  <Sol>3</Sol>
  <Terid>1</Terid>
  <Typ>2</Typ>
  <UserId>5</UserId>
</SentData>