PUT api/TT/UploadData?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

TTUploadData
NameDescriptionTypeAdditional information
CustomerId

integer

None.

DataCollectorUserId

integer

None.

Product

Collection of TTProduct

None.

Price

Collection of TTPrice

None.

Place

Collection of TTPlace

None.

Promo

Collection of TTPromo

None.

Photo

Collection of TTPhoto

None.

WatchOut

Collection of TTWatchOut

None.

GenericQuestionsData

Collection of TTGenericQuestionsData

None.

ProductScore

decimal number

None.

PriceScore

decimal number

None.

PlaceScore

decimal number

None.

PromoScore

decimal number

None.

TotalScore

decimal number

None.

ProductScoreCompetition

decimal number

None.

PriceScoreCompetition

decimal number

None.

PlaceScoreCompetition

decimal number

None.

PromoScoreCompetition

decimal number

None.

TotalScoreCompetition

decimal number

None.

PointsEarned

integer

None.

VisitMaxPoints

integer

None.

VisitDate

date

None.

TimeIn

date

None.

TimeOut

date

None.

CustomerPicturebyDC

string

None.

CustomerNamebyDC

string

None.

CustomerLongbyDC

string

None.

CustomerLatbyDC

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "DataCollectorUserId": 2,
  "Product": [
    {
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "DataCollectorUserId": 2,
      "SKUID": 3,
      "Available": true
    },
    {
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "DataCollectorUserId": 2,
      "SKUID": 3,
      "Available": true
    }
  ],
  "Price": [
    {
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "DataCollectorUserId": 2,
      "SKUID": 3,
      "HasIssue": true,
      "Price": 4.0
    },
    {
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "DataCollectorUserId": 2,
      "SKUID": 3,
      "HasIssue": true,
      "Price": 4.0
    }
  ],
  "Place": [
    {
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "DataCollectorUserId": 2,
      "GuidelineId": 3,
      "AbidedBy": true
    },
    {
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "DataCollectorUserId": 2,
      "GuidelineId": 3,
      "AbidedBy": true
    }
  ],
  "Promo": [
    {
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "DataCollectorUserId": 2,
      "GuidelineId": 3,
      "AbidedBy": true
    },
    {
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "DataCollectorUserId": 2,
      "GuidelineId": 3,
      "AbidedBy": true
    }
  ],
  "Photo": [
    {
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "DataCollectorUserId": 2,
      "Location": "sample string 3",
      "CategoryId": 4,
      "Photo": "QEA="
    },
    {
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "DataCollectorUserId": 2,
      "Location": "sample string 3",
      "CategoryId": 4,
      "Photo": "QEA="
    }
  ],
  "WatchOut": [
    {
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "DataCollectorUserId": 2,
      "CategoryID": 3,
      "BrandID": 4,
      "ActivityTypeID": 5,
      "Price": 1.0,
      "Description": "sample string 6",
      "EventID": 7,
      "Pictures": [
        {
          "Photo": "QEA="
        },
        {
          "Photo": "QEA="
        }
      ]
    },
    {
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "DataCollectorUserId": 2,
      "CategoryID": 3,
      "BrandID": 4,
      "ActivityTypeID": 5,
      "Price": 1.0,
      "Description": "sample string 6",
      "EventID": 7,
      "Pictures": [
        {
          "Photo": "QEA="
        },
        {
          "Photo": "QEA="
        }
      ]
    }
  ],
  "GenericQuestionsData": [
    {
      "GenericQuestionId": 1,
      "DataCollectorUserId": 2,
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "CustomerId": 4,
      "CategoryBrand": [
        {
          "BrandId": 1,
          "CategoryId": 2
        },
        {
          "BrandId": 1,
          "CategoryId": 2
        }
      ]
    },
    {
      "GenericQuestionId": 1,
      "DataCollectorUserId": 2,
      "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
      "CustomerId": 4,
      "CategoryBrand": [
        {
          "BrandId": 1,
          "CategoryId": 2
        },
        {
          "BrandId": 1,
          "CategoryId": 2
        }
      ]
    }
  ],
  "ProductScore": 1.0,
  "PriceScore": 1.0,
  "PlaceScore": 1.0,
  "PromoScore": 1.0,
  "TotalScore": 1.0,
  "ProductScoreCompetition": 1.0,
  "PriceScoreCompetition": 1.0,
  "PlaceScoreCompetition": 1.0,
  "PromoScoreCompetition": 1.0,
  "TotalScoreCompetition": 1.0,
  "PointsEarned": 3,
  "VisitMaxPoints": 4,
  "VisitDate": "2026-02-25T11:07:56.9059892+00:00",
  "TimeIn": "2026-02-25T11:07:56.9059892+00:00",
  "TimeOut": "2026-02-25T11:07:56.9059892+00:00",
  "CustomerPicturebyDC": "sample string 6",
  "CustomerNamebyDC": "sample string 7",
  "CustomerLongbyDC": "sample string 8",
  "CustomerLatbyDC": "sample string 9"
}

text/xml

Sample:
<TTUploadData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EYE2Api.Models">
  <CustomerId>1</CustomerId>
  <CustomerLatbyDC>sample string 9</CustomerLatbyDC>
  <CustomerLongbyDC>sample string 8</CustomerLongbyDC>
  <CustomerNamebyDC>sample string 7</CustomerNamebyDC>
  <CustomerPicturebyDC>sample string 6</CustomerPicturebyDC>
  <DataCollectorUserId>2</DataCollectorUserId>
  <GenericQuestionsData>
    <TTGenericQuestionsData>
      <CategoryBrand>
        <CategoryBrand>
          <BrandId>1</BrandId>
          <CategoryId>2</CategoryId>
        </CategoryBrand>
        <CategoryBrand>
          <BrandId>1</BrandId>
          <CategoryId>2</CategoryId>
        </CategoryBrand>
      </CategoryBrand>
      <CustomerId>4</CustomerId>
      <DataCollectorUserId>2</DataCollectorUserId>
      <GenericQuestionId>1</GenericQuestionId>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTGenericQuestionsData>
    <TTGenericQuestionsData>
      <CategoryBrand>
        <CategoryBrand>
          <BrandId>1</BrandId>
          <CategoryId>2</CategoryId>
        </CategoryBrand>
        <CategoryBrand>
          <BrandId>1</BrandId>
          <CategoryId>2</CategoryId>
        </CategoryBrand>
      </CategoryBrand>
      <CustomerId>4</CustomerId>
      <DataCollectorUserId>2</DataCollectorUserId>
      <GenericQuestionId>1</GenericQuestionId>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTGenericQuestionsData>
  </GenericQuestionsData>
  <Photo>
    <TTPhoto>
      <CategoryId>4</CategoryId>
      <DataCollectorUserId>2</DataCollectorUserId>
      <Location>sample string 3</Location>
      <Photo>QEA=</Photo>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTPhoto>
    <TTPhoto>
      <CategoryId>4</CategoryId>
      <DataCollectorUserId>2</DataCollectorUserId>
      <Location>sample string 3</Location>
      <Photo>QEA=</Photo>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTPhoto>
  </Photo>
  <Place>
    <TTPlace>
      <AbidedBy>true</AbidedBy>
      <DataCollectorUserId>2</DataCollectorUserId>
      <GuidelineId>3</GuidelineId>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTPlace>
    <TTPlace>
      <AbidedBy>true</AbidedBy>
      <DataCollectorUserId>2</DataCollectorUserId>
      <GuidelineId>3</GuidelineId>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTPlace>
  </Place>
  <PlaceScore>1</PlaceScore>
  <PlaceScoreCompetition>1</PlaceScoreCompetition>
  <PointsEarned>3</PointsEarned>
  <Price>
    <TTPrice>
      <DataCollectorUserId>2</DataCollectorUserId>
      <HasIssue>true</HasIssue>
      <Price>4</Price>
      <SKUID>3</SKUID>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTPrice>
    <TTPrice>
      <DataCollectorUserId>2</DataCollectorUserId>
      <HasIssue>true</HasIssue>
      <Price>4</Price>
      <SKUID>3</SKUID>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTPrice>
  </Price>
  <PriceScore>1</PriceScore>
  <PriceScoreCompetition>1</PriceScoreCompetition>
  <Product>
    <TTProduct>
      <Available>true</Available>
      <DataCollectorUserId>2</DataCollectorUserId>
      <SKUID>3</SKUID>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTProduct>
    <TTProduct>
      <Available>true</Available>
      <DataCollectorUserId>2</DataCollectorUserId>
      <SKUID>3</SKUID>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTProduct>
  </Product>
  <ProductScore>1</ProductScore>
  <ProductScoreCompetition>1</ProductScoreCompetition>
  <Promo>
    <TTPromo>
      <AbidedBy>true</AbidedBy>
      <DataCollectorUserId>2</DataCollectorUserId>
      <GuidelineId>3</GuidelineId>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTPromo>
    <TTPromo>
      <AbidedBy>true</AbidedBy>
      <DataCollectorUserId>2</DataCollectorUserId>
      <GuidelineId>3</GuidelineId>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTPromo>
  </Promo>
  <PromoScore>1</PromoScore>
  <PromoScoreCompetition>1</PromoScoreCompetition>
  <TimeIn>2026-02-25T11:07:56.9059892+00:00</TimeIn>
  <TimeOut>2026-02-25T11:07:56.9059892+00:00</TimeOut>
  <TotalScore>1</TotalScore>
  <TotalScoreCompetition>1</TotalScoreCompetition>
  <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
  <VisitMaxPoints>4</VisitMaxPoints>
  <WatchOut>
    <TTWatchOut>
      <ActivityTypeID>5</ActivityTypeID>
      <BrandID>4</BrandID>
      <CategoryID>3</CategoryID>
      <DataCollectorUserId>2</DataCollectorUserId>
      <Description>sample string 6</Description>
      <EventID>7</EventID>
      <Pictures>
        <TTWatchOutPicture>
          <Photo>QEA=</Photo>
        </TTWatchOutPicture>
        <TTWatchOutPicture>
          <Photo>QEA=</Photo>
        </TTWatchOutPicture>
      </Pictures>
      <Price>1</Price>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTWatchOut>
    <TTWatchOut>
      <ActivityTypeID>5</ActivityTypeID>
      <BrandID>4</BrandID>
      <CategoryID>3</CategoryID>
      <DataCollectorUserId>2</DataCollectorUserId>
      <Description>sample string 6</Description>
      <EventID>7</EventID>
      <Pictures>
        <TTWatchOutPicture>
          <Photo>QEA=</Photo>
        </TTWatchOutPicture>
        <TTWatchOutPicture>
          <Photo>QEA=</Photo>
        </TTWatchOutPicture>
      </Pictures>
      <Price>1</Price>
      <VisitDate>2026-02-25T11:07:56.9059892+00:00</VisitDate>
    </TTWatchOut>
  </WatchOut>
</TTUploadData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.