POST DonateGoods/CustomerLead

Request Information

URI Parameters

None.

Body Parameters

CustomerPickupLead
NameDescriptionTypeAdditional information
Territory_id

integer

None.

Arc_id

integer

None.

Donor_id

integer

None.

Pickup_id

integer

None.

Response

string

None.

Other

string

None.

TimeStamp

date

None.

InitialRowId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Territory_id": 1,
  "Arc_id": 2,
  "Donor_id": 3,
  "Pickup_id": 4,
  "Response": "sample string 5",
  "Other": "sample string 6",
  "TimeStamp": "2024-11-21T15:21:20.2150753+00:00",
  "InitialRowId": 8
}

text/html

Sample:
{"Territory_id":1,"Arc_id":2,"Donor_id":3,"Pickup_id":4,"Response":"sample string 5","Other":"sample string 6","TimeStamp":"2024-11-21T15:21:20.2150753+00:00","InitialRowId":8}

application/xml, text/xml

Sample:
<CustomerPickupLead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiPickup.Models">
  <Arc_id>2</Arc_id>
  <Donor_id>3</Donor_id>
  <InitialRowId>8</InitialRowId>
  <Other>sample string 6</Other>
  <Pickup_id>4</Pickup_id>
  <Response>sample string 5</Response>
  <Territory_id>1</Territory_id>
  <TimeStamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T15:21:20.2150753Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </TimeStamp>
</CustomerPickupLead>

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 'CustomerPickupLead'.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
Success

boolean

None.

RetVal

Object

None.

HasError

boolean

None.

ErrorMessage

string

None.

ErrorDetail

Exception

None.

Feedback

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "RetVal": {},
  "HasError": true,
  "ErrorMessage": "sample string 4",
  "ErrorDetail": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "Feedback": "sample string 5"
}

text/html

Sample:
{"Success":true,"RetVal":{},"HasError":true,"ErrorMessage":"sample string 4","ErrorDetail":{"ClassName":"System.Exception","Message":null,"Data":null,"InnerException":null,"HelpURL":"sample string 1","StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":3,"Source":"sample string 2","WatsonBuckets":null},"Feedback":"sample string 5"}

application/xml, text/xml

Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiPickup.Models">
  <Feedback>sample string 5</Feedback>
  <ErrorDetail xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </ErrorDetail>
  <ErrorMessage>sample string 4</ErrorMessage>
  <HasError>true</HasError>
  <RetVal />
  <Success>true</Success>
</ApiResult>