POST Rating/SubmitRating

Request Information

URI Parameters

None.

Body Parameters

SubmitRatingRequestModel
NameDescriptionTypeAdditional information
HIT

SubmitHIT

None.

Request Formats

application/json, text/json

Sample:
{
  "HIT": {
    "ClientInfo": {
      "AppID": "sample string 1",
      "ServerIP": "sample string 2",
      "SessionID": "sample string 3",
      "UserID": "sample string 4"
    },
    "MITs": {
      "MIT": {
        "ID": "sample string 1",
        "Method": "sample string 2",
        "ClientInfo": {
          "AppID": "sample string 1",
          "ServerIP": "sample string 2",
          "SessionID": "sample string 3",
          "UserID": "sample string 4"
        },
        "Input": {
          "Required": {
            "ApplicationName": "sample string 1",
            "RaterID": "sample string 2",
            "RatableItemID": "sample string 3",
            "Score": "sample string 4",
            "RatableItemName": "sample string 5",
            "RatableItemType": "sample string 6",
            "RatableItemURL": "sample string 7"
          },
          "Optional": {
            "Tags": {
              "Tag": [
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                },
                {
                  "Name": "sample string 1",
                  "Value": "sample string 2"
                }
              ]
            }
          }
        }
      }
    }
  }
}

text/html

Sample:
{"HIT":{"ClientInfo":{"AppID":"sample string 1","ServerIP":"sample string 2","SessionID":"sample string 3","UserID":"sample string 4"},"MITs":{"MIT":{"ID":"sample string 1","Method":"sample string 2","ClientInfo":{"AppID":"sample string 1","ServerIP":"sample string 2","SessionID":"sample string 3","UserID":"sample string 4"},"Input":{"Required":{"ApplicationName":"sample string 1","RaterID":"sample string 2","RatableItemID":"sample string 3","Score":"sample string 4","RatableItemName":"sample string 5","RatableItemType":"sample string 6","RatableItemURL":"sample string 7"},"Optional":{"Tags":{"Tag":[{"Name":"sample string 1","Value":"sample string 2"},{"Name":"sample string 1","Value":"sample string 2"}]}}}}}}}

application/xml, text/xml

Sample:
<SubmitRatingRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2C.Rating.Services.Model">
  <HIT>
    <ClientInfo>
      <AppID>sample string 1</AppID>
      <ServerIP>sample string 2</ServerIP>
      <SessionID>sample string 3</SessionID>
      <UserID>sample string 4</UserID>
    </ClientInfo>
    <MITs>
      <MIT>
        <ClientInfo>
          <AppID>sample string 1</AppID>
          <ServerIP>sample string 2</ServerIP>
          <SessionID>sample string 3</SessionID>
          <UserID>sample string 4</UserID>
        </ClientInfo>
        <ID>sample string 1</ID>
        <Input>
          <Optional>
            <Tags>
              <Tag>
                <SubmitTag>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </SubmitTag>
                <SubmitTag>
                  <Name>sample string 1</Name>
                  <Value>sample string 2</Value>
                </SubmitTag>
              </Tag>
            </Tags>
          </Optional>
          <Required>
            <ApplicationName>sample string 1</ApplicationName>
            <RatableItemID>sample string 3</RatableItemID>
            <RatableItemName>sample string 5</RatableItemName>
            <RatableItemType>sample string 6</RatableItemType>
            <RatableItemURL>sample string 7</RatableItemURL>
            <RaterID>sample string 2</RaterID>
            <Score>sample string 4</Score>
          </Required>
        </Input>
        <Method>sample string 2</Method>
      </MIT>
    </MITs>
  </HIT>
</SubmitRatingRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.