POST api/Address
Request Information
URI Parameters
None.
Body Parameters
LIBAddressesName | Description | Type | Additional information |
---|---|---|---|
AddrID | integer |
None. |
|
LoginID | integer |
None. |
|
AddressTypeID | integer |
None. |
|
ProductID | integer |
None. |
|
Addr1 | string |
None. |
|
Addr2 | string |
None. |
|
City | string |
None. |
|
State | string |
None. |
|
Zip | string |
None. |
|
Country | string |
None. |
|
Phone1 | string |
None. |
|
Phone2 | string |
None. |
|
AltEmail | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AddrID": 1, "LoginID": 2, "AddressTypeID": 3, "ProductID": 4, "Addr1": "sample string 5", "Addr2": "sample string 6", "City": "sample string 7", "State": "sample string 8", "Zip": "sample string 9", "Country": "sample string 10", "Phone1": "sample string 11", "Phone2": "sample string 12", "AltEmail": "sample string 13" }
text/html
Sample:
{"AddrID":1,"LoginID":2,"AddressTypeID":3,"ProductID":4,"Addr1":"sample string 5","Addr2":"sample string 6","City":"sample string 7","State":"sample string 8","Zip":"sample string 9","Country":"sample string 10","Phone1":"sample string 11","Phone2":"sample string 12","AltEmail":"sample string 13"}
application/xml, text/xml
Sample:
<LIBAddresses xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SRC4AllAPI.Models"> <Addr1>sample string 5</Addr1> <Addr2>sample string 6</Addr2> <AddrID>1</AddrID> <AddressTypeID>3</AddressTypeID> <AltEmail>sample string 13</AltEmail> <City>sample string 7</City> <Country>sample string 10</Country> <LoginID>2</LoginID> <Phone1>sample string 11</Phone1> <Phone2>sample string 12</Phone2> <ProductID>4</ProductID> <State>sample string 8</State> <Zip>sample string 9</Zip> </LIBAddresses>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |