PUT api/MailRequest

Request Information

URI Parameters

None.

Body Parameters

MailRequestData
NameDescriptionTypeAdditional information
ID

integer

None.

CountyID

integer

None.

CountyName

string

None.

AttentionTo

string

None.

Address1

string

None.

Address2

string

None.

ReturnEmail

string

None.

Amount

decimal number

None.

Notes

string

None.

ShippedBy

integer

None.

TrackingNumber

string

None.

ShippingCost

decimal number

None.

Status

integer

None.

OrderNumber

string

None.

CreatedDate

date

None.

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CountyID": 2,
  "CountyName": "sample string 3",
  "AttentionTo": "sample string 4",
  "Address1": "sample string 5",
  "Address2": "sample string 6",
  "ReturnEmail": "sample string 7",
  "Amount": 8.0,
  "Notes": "sample string 9",
  "ShippedBy": 10,
  "TrackingNumber": "sample string 11",
  "ShippingCost": 12.0,
  "Status": 13,
  "OrderNumber": "sample string 14",
  "CreatedDate": "2026-02-10T16:09:54.2715778-08:00",
  "CreatedBy": "sample string 15"
}

text/xml

Sample:
<MailRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAS.DAL">
  <Address1>sample string 5</Address1>
  <Address2>sample string 6</Address2>
  <Amount>8</Amount>
  <AttentionTo>sample string 4</AttentionTo>
  <CountyID>2</CountyID>
  <CountyName>sample string 3</CountyName>
  <CreatedBy>sample string 15</CreatedBy>
  <CreatedDate>2026-02-10T16:09:54.2715778-08:00</CreatedDate>
  <ID>1</ID>
  <Notes>sample string 9</Notes>
  <OrderNumber>sample string 14</OrderNumber>
  <ReturnEmail>sample string 7</ReturnEmail>
  <ShippedBy>10</ShippedBy>
  <ShippingCost>12</ShippingCost>
  <Status>13</Status>
  <TrackingNumber>sample string 11</TrackingNumber>
</MailRequestData>

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

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.