POST PillaiAcademy/SaveAdditionalinfo/{userLogin}/{OrderId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userLogin

string

Required

OrderId

integer

Required

Body Parameters

AdditionalInfoInput
NameDescriptionTypeAdditional information
addtionalInfo

Collection of SaveControlFields

None.

Request Formats

application/json, text/json

Sample:
{
  "addtionalInfo": [
    {
      "ShopId": 1,
      "ProductId": 2,
      "ItemLevel": 3,
      "ProductControlText": "sample string 4",
      "ProductControlValue": "sample string 5"
    },
    {
      "ShopId": 1,
      "ProductId": 2,
      "ItemLevel": 3,
      "ProductControlText": "sample string 4",
      "ProductControlValue": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<AdditionalInfoInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstroVed.Api.DAL">
  <addtionalInfo>
    <SaveControlFields>
      <ItemLevel>3</ItemLevel>
      <ProductControlText>sample string 4</ProductControlText>
      <ProductControlValue>sample string 5</ProductControlValue>
      <ProductId>2</ProductId>
      <ShopId>1</ShopId>
    </SaveControlFields>
    <SaveControlFields>
      <ItemLevel>3</ItemLevel>
      <ProductControlText>sample string 4</ProductControlText>
      <ProductControlValue>sample string 5</ProductControlValue>
      <ProductId>2</ProductId>
      <ShopId>1</ShopId>
    </SaveControlFields>
  </addtionalInfo>
</AdditionalInfoInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AdditionalInfoInput'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.