POST api/Lookups

Request Information

URI Parameters

None.

Body Parameters

UpdateItemCommand
NameDescriptionTypeAdditional information
Id

string

None.

AddItemToAccountFavorites

boolean

None.

RemoveItemFromAccountFavorites

boolean

None.

UpdateAccountItemDescription

boolean

None.

AccountItemDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "AddItemToAccountFavorites": true,
  "RemoveItemFromAccountFavorites": true,
  "UpdateAccountItemDescription": true,
  "AccountItemDescription": "sample string 5"
}

application/xml, text/xml

Sample:
<UpdateItemCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pronto.Core.Services.ServiceCommands">
  <AccountItemDescription>sample string 5</AccountItemDescription>
  <AddItemToAccountFavorites>true</AddItemToAccountFavorites>
  <Id>sample string 1</Id>
  <RemoveItemFromAccountFavorites>true</RemoveItemFromAccountFavorites>
  <UpdateAccountItemDescription>true</UpdateAccountItemDescription>
</UpdateItemCommand>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<UpdateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pronto.Core.Entities">
  <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorMessages>
  <Success>true</Success>
</UpdateResponse>