Create ContactAddress | |
URL | /Address/AddContact |
Method | POST |
Body |
{
"ContactId":"2",
"AddressId":"2"
}
|
Response |
HTTP/1.1 400 Already exist HTTP/1.1 400 Customer should be the same for Adress and Contact HTTP/1.1 400 Incorrect Contact Id HTTP/1.1 400 Incorrect Address Id [
|
Comments |
Get List of ContactAddress | |
URL | /Address/ContactList/{addressId} |
Method | GET |
Body | |
Response |
HTTP/1.1 200 OK [ |
Comments | In case if {addressId} not exist will return empty array |
Delete ContactAddress | |
URL | /Address/RemoveContact/{id} |
Method | DELETE |
Body | |
Response |
HTTP/1.1 200 OK HTTP/1.1 400 No such item |
Comments |