Create new Junctions

Prev Next
Post
/junctions/
Security
API Key: Token
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Junctions to be created

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

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
201

A created Junction

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

400

There was an error in request. Usually field validation failed.

{
  "name": [
    "This field is required."
  ]
}

Fields which failed validation

401

Authentication credentials are missing or invalid

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

Detailed description of error