Update Junction data partially
  • 17 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Update Junction data partially

  • Dark
    Light
  • PDF

Article summary

Patch
/junctions/{id}/

Operation is used to update specific fields in existing Junction data.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Junction to update

Body parameters

Juntion attributes and values to be updated

object

Junction object. Flat version for patch and post methods

Address
integer
Customer
integer
Maint_area
integer
Network
integer
State
integer
agreed_delivery
string (date)

Agreed delivery date

building_room
string

Building or room

comments
string

Comments or additional details

connectivity_date
string (date)

Connectivity date

contact_date
string (date)

Contact date

contact_person1
string

First contact person

contact_person2
string

Second contact person

date_created
string (date)

Created date

id
integer

Primary key

junction_number
string

Junction number

junction_power
number (float)

Junction power

name
string Required

Name

offer_accepted
boolean

Specifies if offer is accepted

offer_accepted_date
string (date)

Offer accepting date

offer_rejected
boolean

Specifies if offer is rejected

offer_requested
boolean

Specifies if offer is requested

offer_send_date
string (date)

Offer sending date

offer_valid_until_date
string (date)

Offer valid until date

proposed_delivery
string (date)

Proposed delivery date

requested_delivery
string (date)

Requested delivery date

restricted_type
integer
starting_date
string (date)

Starting date

Responses
200

Object was updated successfully

object

Junction object. Flat version for patch and post methods

Address
integer
Customer
integer
Maint_area
integer
Network
integer
State
integer
agreed_delivery
string (date)

Agreed delivery date

building_room
string

Building or room

comments
string

Comments or additional details

connectivity_date
string (date)

Connectivity date

contact_date
string (date)

Contact date

contact_person1
string

First contact person

contact_person2
string

Second contact person

date_created
string (date)

Created date

id
integer

Primary key

junction_number
string

Junction number

junction_power
number (float)

Junction power

name
string

Name

offer_accepted
boolean

Specifies if offer is accepted

offer_accepted_date
string (date)

Offer accepting date

offer_rejected
boolean

Specifies if offer is rejected

offer_requested
boolean

Specifies if offer is requested

offer_send_date
string (date)

Offer sending date

offer_valid_until_date
string (date)

Offer valid until date

proposed_delivery
string (date)

Proposed delivery date

requested_delivery
string (date)

Requested delivery date

restricted_type
integer
starting_date
string (date)

Starting date

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error

404

Object was not found

{
  "details": "Not found."
}
object
details
string

Detailed description of error


Was this article helpful?