POST PGM/SaveAddress
Request Information
URI Parameters
None.
Body Parameters
SaveAddress| Name | Description | Type | Additional information |
|---|---|---|---|
| address_ID | integer |
None. |
|
| customer_ID | integer |
None. |
|
| garriage_name | string |
None. |
|
| address_Line1 | string |
None. |
|
| address_Line2 | string |
None. |
|
| address_Line3 | string |
None. |
|
| state | string |
None. |
|
| city | string |
None. |
|
| country | string |
None. |
|
| pinCode | string |
None. |
|
| addressType | integer |
None. |
|
| isDefault | integer |
None. |
|
| createdBy | string |
None. |
|
| is_Type | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"address_ID": 1,
"customer_ID": 2,
"garriage_name": "sample string 3",
"address_Line1": "sample string 4",
"address_Line2": "sample string 5",
"address_Line3": "sample string 6",
"state": "sample string 7",
"city": "sample string 8",
"country": "sample string 9",
"pinCode": "sample string 10",
"addressType": 11,
"isDefault": 12,
"createdBy": "sample string 13",
"is_Type": 14
}
text/html
Sample:
{"address_ID":1,"customer_ID":2,"garriage_name":"sample string 3","address_Line1":"sample string 4","address_Line2":"sample string 5","address_Line3":"sample string 6","state":"sample string 7","city":"sample string 8","country":"sample string 9","pinCode":"sample string 10","addressType":11,"isDefault":12,"createdBy":"sample string 13","is_Type":14}
application/xml, text/xml
Sample:
<SaveAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGM.Models"> <addressType>11</addressType> <address_ID>1</address_ID> <address_Line1>sample string 4</address_Line1> <address_Line2>sample string 5</address_Line2> <address_Line3>sample string 6</address_Line3> <city>sample string 8</city> <country>sample string 9</country> <createdBy>sample string 13</createdBy> <customer_ID>2</customer_ID> <garriage_name>sample string 3</garriage_name> <isDefault>12</isDefault> <is_Type>14</is_Type> <pinCode>sample string 10</pinCode> <state>sample string 7</state> </SaveAddress>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.