POST api/GroupOrdering/AddFriendListToGroupOrder?groupOrderHash={groupOrderHash}&friendString={friendString}&newAddressHash={newAddressHash}&newDateRequestedHash={newDateRequestedHash}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupOrderHash

string

Required

friendString

string

Required

newAddressHash

string

Required

newDateRequestedHash

string

Required

Body Parameters

PaymentMethodList
NameDescriptionTypeAdditional information
PaymentMethods

Collection of PaymentMethod

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentMethods": [
    {
      "PaymentMethodHash": "sample string 2",
      "Name": "sample string 3",
      "Type": "sample string 4",
      "FriendlyName": "sample string 5",
      "FriendlyTypeName": "sample string 6",
      "FriendlyLabel": "sample string 7",
      "Description": "sample string 8",
      "PaymentAmount": 9.0,
      "FundsAvailable": 1.0,
      "IsTippingValid": true,
      "SupportedAsSinglePayment": true,
      "SupportedAsFirstPartialPayment": true,
      "SupportedAsAdditionalPartialPayment": true,
      "NotStoredCreditCard": true,
      "IsDefaultMethod": true,
      "ImageURL": "sample string 16",
      "PaymentMethodId": "sample string 2"
    },
    {
      "PaymentMethodHash": "sample string 2",
      "Name": "sample string 3",
      "Type": "sample string 4",
      "FriendlyName": "sample string 5",
      "FriendlyTypeName": "sample string 6",
      "FriendlyLabel": "sample string 7",
      "Description": "sample string 8",
      "PaymentAmount": 9.0,
      "FundsAvailable": 1.0,
      "IsTippingValid": true,
      "SupportedAsSinglePayment": true,
      "SupportedAsFirstPartialPayment": true,
      "SupportedAsAdditionalPartialPayment": true,
      "NotStoredCreditCard": true,
      "IsDefaultMethod": true,
      "ImageURL": "sample string 16",
      "PaymentMethodId": "sample string 2"
    }
  ]
}

text/html

Sample:
{"PaymentMethods":[{"PaymentMethodHash":"sample string 2","Name":"sample string 3","Type":"sample string 4","FriendlyName":"sample string 5","FriendlyTypeName":"sample string 6","FriendlyLabel":"sample string 7","Description":"sample string 8","PaymentAmount":9.0,"FundsAvailable":1.0,"IsTippingValid":true,"SupportedAsSinglePayment":true,"SupportedAsFirstPartialPayment":true,"SupportedAsAdditionalPartialPayment":true,"NotStoredCreditCard":true,"IsDefaultMethod":true,"ImageURL":"sample string 16","PaymentMethodId":"sample string 2"},{"PaymentMethodHash":"sample string 2","Name":"sample string 3","Type":"sample string 4","FriendlyName":"sample string 5","FriendlyTypeName":"sample string 6","FriendlyLabel":"sample string 7","Description":"sample string 8","PaymentAmount":9.0,"FundsAvailable":1.0,"IsTippingValid":true,"SupportedAsSinglePayment":true,"SupportedAsFirstPartialPayment":true,"SupportedAsAdditionalPartialPayment":true,"NotStoredCreditCard":true,"IsDefaultMethod":true,"ImageURL":"sample string 16","PaymentMethodId":"sample string 2"}]}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

ExceptionMessage

string

None.

SuccessMessage

string

None.

IsBaseResponse

boolean

None.

NewSessionLunchcartCreated

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ExceptionMessage": "sample string 2",
  "SuccessMessage": "sample string 3",
  "IsBaseResponse": true,
  "NewSessionLunchcartCreated": true
}

text/html

Sample:
{"Success":true,"ExceptionMessage":"sample string 2","SuccessMessage":"sample string 3","IsBaseResponse":true,"NewSessionLunchcartCreated":true}

application/xml, text/xml

Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO.Response">
  <ExceptionMessage>sample string 2</ExceptionMessage>
  <IsBaseResponse>true</IsBaseResponse>
  <NewSessionLunchcartCreated>true</NewSessionLunchcartCreated>
  <Success>true</Success>
  <SuccessMessage>sample string 3</SuccessMessage>
</BaseResponse>