Create NotificationContact

post

/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts

Creates a new Notification Contact

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Data used to create or update the Notification Contact
Root Schema : NotificationContactRequest
Type: object
Show Source
Example:
{
    "name":"Jane Doe",
    "email":"jane.doe@example.com",
    "phoneSMS":"555-123-1234",
    "phoneVoice":"555-123-1234",
    "push":true
}
Back to Top

Response

Supported Media Types

200 Response

The notification contact was created successfully.
Body ()
Root Schema : NotificationContact
Type: object
Show Source
Nested Schema : response
Match All
Show Source
Nested Schema : NotificationContactRequest
Type: object
Show Source
Example:
{
    "name":"Jane Doe",
    "email":"jane.doe@example.com",
    "phoneSMS":"555-123-1234",
    "phoneVoice":"555-123-1234",
    "push":true
}
Nested Schema : response-allOf[1]
Type: object
Show Source
Example:
{
    "id":1,
    "name":"Jane Doe",
    "email":"jane.doe@example.com",
    "phoneSMS":"555-123-1234",
    "phoneVoice":"555-123-1234",
    "primary":false
}

400 Response

An error occurred processing the request. See the response body for more information.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source

401 Response

An error occurred processing the request. See the response body for more information.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source

404 Response

An error occurred processing the request. See the response body for more information.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source
Back to Top