SIP User ng911

Update

Update an existing SIP User ng911 record by ID.

put/api/cp/switch/user-ng911/{id}

Path parameters

idinteger required

Id identifier

Request body

idinteger

Id

sip_user_idinteger required

Sip User Id (references sip_user.id)

location_idstring required

Location Id (unique)

location_namestring

Location Name

is_defaultinteger required

Is Default

countrystring required

Country

a1string

A 1

a2string

A 2

a3string

A 3

a4string

A 4

hnostring

Hno

hno_prefixstring

Hno Prefix

hno_suffixstring

Hno Suffix

prdstring

Prd

rdstring

Rd

stsstring

Sts

podstring

Pod

prmstring

Prm

pomstring

Pom

bldstring

Bld

unitstring

Unit

flrstring

Flr

roomstring

Room

seatstring

Seat

locstring

Loc

namstring

Nam

lmkstring

Lmk

plcstring

Plc

pcstring

Pc

pcnstring

Pcn

poboxstring

Pobox

addcodestring

Addcode

latitudenumber

Latitude

longitudenumber

Longitude

validatedinteger required

Validated

validated_atstring date-time nullable

Validated At

validation_errorstring

Validation Error

created_atstring date-time

Created At

updated_atstring date-time

Updated At

Example request

{
  "id": 12345,
  "sip_user_id": 1,
  "location_id": 1,
  "location_name": "example_location_name",
  "is_default": true,
  "country": "US",
  "a1": "example_a1",
  "a2": "example_a2",
  "a3": "example_a3",
  "a4": "example_a4",
  "hno": "example_hno",
  "hno_prefix": "example_hno_prefix",
  "hno_suffix": "example_hno_suffix",
  "prd": "example_prd",
  "rd": "example_rd",
  "sts": "example_sts",
  "pod": "example_pod",
  "prm": "example_prm",
  "pom": "example_pom",
  "bld": "example_bld",
  "unit": "example_unit",
  "flr": "example_flr",
  "room": "example_room",
  "seat": "example_seat",
  "loc": "example_loc",
  "nam": "example_nam",
  "lmk": "example_lmk",
  "plc": "example_plc",
  "pc": "example_pc",
  "pcn": "example_pcn",
  "pobox": "example_pobox",
  "addcode": "example_addcode",
  "latitude": 99.99,
  "longitude": 99.99,
  "validated": 1,
  "validated_at": "2025-01-17T10:30:00Z",
  "validation_error": "example_validation_error",
  "created_at": "2025-01-17T10:30:00Z",
  "updated_at": "2025-01-17T10:30:00Z"
}

Response

Operation completed successfully

statusstring

Operation status

Example response

{
  "status": "OK"
}

Changes