POST api/Addresses
Imports the Address supplied into Sertica Sync Address Import Queue
Address is imported into SERTICA next time SERTICA Sync routing is executed
Required Headers:
Authorization: Basic Http Authorization with valid Sertica credentials
Returns:
200 OK - If received Address is valid and is accepted
400 BadRequest - If validation fails. Reason is supplied in response.
401 Unauthorized - If credentials are invalid
Request Information
URI Parameters
None.
Body Parameters
The address to import
Address| Name | Description | Type | Additional information |
|---|---|---|---|
| AddressNo | string |
Max length: 20 |
|
| VendorNo | string |
Required Max length: 20 |
|
| Name | string |
Max length: 80 |
|
| LineOfBusiness | AddressType |
None. |
|
| AddressLines | string |
Max length: 2000 |
|
| City | string |
Max length: 80 |
|
| Zipcode | string |
Max length: 20 |
|
| CountryCode | string |
Max length: 6 |
|
| Phone | string |
Max length: 80 |
|
| string |
Max length: 255 |
||
| Homepage | string |
Max length: 255 |
|
| CurrencyCode | string |
Max length: 3 |
|
| LanguageCode | string |
Max length: 10 |
|
| VATNo | string |
Max length: 30 |
|
| PaymentConditionNo | string |
Max length: 20 |
|
| PaymentConditionText | string |
Max length: 2000 |
|
| Inactive | boolean |
None. |
|
| DeliveryConditionNo | string |
Max length: 20 |
|
| DeliveryConditionText | string |
Max length: 2000 |
|
| CSRNo | string |
Max length: 80 |
|
| CSRProductGroupNo | string |
Max length: 80 |
Request Formats
application/json, text/json
{
"AddressNo": "sample string 1",
"VendorNo": "sample string 2",
"Name": "sample string 3",
"LineOfBusiness": 0,
"AddressLines": "sample string 4",
"City": "sample string 5",
"Zipcode": "sample string 6",
"CountryCode": "sample string 7",
"Phone": "sample string 8",
"Email": "sample string 9",
"Homepage": "sample string 10",
"CurrencyCode": "sample string 11",
"LanguageCode": "sample string 12",
"VATNo": "sample string 13",
"PaymentConditionNo": "sample string 14",
"PaymentConditionText": "sample string 15",
"Inactive": true,
"DeliveryConditionNo": "sample string 17",
"DeliveryConditionText": "sample string 18",
"CSRNo": "sample string 19",
"CSRProductGroupNo": "sample string 20"
}
application/xml, text/xml
<Address xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddressNo>sample string 1</AddressNo> <VendorNo>sample string 2</VendorNo> <Name>sample string 3</Name> <LineOfBusiness>Supplier</LineOfBusiness> <AddressLines>sample string 4</AddressLines> <City>sample string 5</City> <Zipcode>sample string 6</Zipcode> <CountryCode>sample string 7</CountryCode> <Phone>sample string 8</Phone> <Email>sample string 9</Email> <Homepage>sample string 10</Homepage> <CurrencyCode>sample string 11</CurrencyCode> <LanguageCode>sample string 12</LanguageCode> <VATNo>sample string 13</VATNo> <PaymentConditionNo>sample string 14</PaymentConditionNo> <PaymentConditionText>sample string 15</PaymentConditionText> <Inactive>true</Inactive> <DeliveryConditionNo>sample string 17</DeliveryConditionNo> <DeliveryConditionText>sample string 18</DeliveryConditionText> <CSRNo>sample string 19</CSRNo> <CSRProductGroupNo>sample string 20</CSRProductGroupNo> </Address>
Response Information
Resource Description
HttpResponseMessage| Name | 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. |