[HTTP POST] ~/contactLists/contactForm

Description: Create/Update a contact in a specific ContactList. Directly replaces the old api/Contact.aspx Form endpoint

Request Information

URI Parameters

None.

Body Parameters

None

Response Information

Description

Successful Response - OK (200):

Returns a 200 OK status if the contact was created/updated successfully

Response Content : 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.


Response Codes:

  • 200 - OK
    • The contact was updated successfully.
  • 401 - Unauthorized
    • The Request has been denied as it lacks valid Authentication credentials.
  • 403 - Forbidden
    • The user does not have the relevant permissions to perform this action.
  • 404 - NotFound
    • The specified Contactlist was not found - could not create contact.
  • 417 - ExpectationFailed
    • The Request has failed due to invalid parameters.
  • 500 - InternalServerError
    • An error occurred while processing this request.