POST api/v1/banzaifieldservices/{PartnerId}/Appointment/{AppointmentId}/UpdateShippingAppointment

Updates shipping methods info.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PartnerId

The partner identifier:
1 = 'ePRICE'

integer

Required

AppointmentId

The Appointment identifier

integer

Required

Body Parameters

UpdateShippingDTO
NameDescriptionTypeAdditional information
Street

string

None.

StreetNumber

string

None.

Province

string

None.

idAddress

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "street": "sample string 1",
  "streetNumber": "sample string 2",
  "province": "sample string 3",
  "idAddress": "bbed21dc-0853-4a9f-9e60-40609f42cd3d"
}

text/plain

Sample:
{"street":"sample string 1","streetNumber":"sample string 2","province":"sample string 3","idAddress":"bbed21dc-0853-4a9f-9e60-40609f42cd3d"}

application/xml, text/xml

Sample:
<UpdateShippingDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.BL.Models.BanzaiServicePlatform">
  <Province>sample string 3</Province>
  <Street>sample string 1</Street>
  <StreetNumber>sample string 2</StreetNumber>
  <idAddress>bbed21dc-0853-4a9f-9e60-40609f42cd3d</idAddress>
</UpdateShippingDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/octet-stream

Sample:
{"Street":"sample string 1","StreetNumber":"sample string 2","Province":"sample string 3","idAddress":"bbed21dc-0853-4a9f-9e60-40609f42cd3d"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain, application/xml, text/xml, application/octet-stream, text/javascript, application/javascript, application/json-p

Sample:

Sample not available.