Create or update a gateway response

Creates or updates a gateway response of a specified type.