ProjectScopeConfiguration
  • 17 Jul 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

ProjectScopeConfiguration

  • Dark
    Light
  • PDF

Article summary

ProjectScopeConfiguration

/v1/projectscopeconfiguration/{id}

Retrieves one or more projects scope configuration details.

Regarding relation of network_id and project_id see project_previews for more details.

Example for calling:

http://server/v1/projectscopeconfiguration?id=1 - Retrieves details for project having project_id = 1

http://server/v1/projectscopeconfiguration?network_id=2 - Retrieves details for project having net_id = 2

http://server/v1/projectscopeconfiguration?item_guid=87de7975-097a-45b9-aaf8-51793e74cbdf - Retrieves details for network having guid = 87de7975-097a-45b9-aaf8-51793e74cbdf

http://server/v1/projectscopeconfiguration?owner=SAFRAN - Retrieves details for project owned by user SAFRAN

http://server/v1/projectscopeconfiguration?network_id=2&owner=SAFRAN - Retrieves details for project having net_id = 2 and owned by user SAFRAN

http://server/v1/projectscopeconfiguration - Is not permitted.

Allowed Methods:

[GET]

API Controller: project

Description:

Retrieves the project scope configuration details of a project for specified id, or all user owned projects when owner is specified.

API Methods Scope Config


Request Fields:

NameTypeDescriptionNotes
idintegerId of the projectOptional Returns details for provided project id
network_idintegerid of the related networkOptional Returns details for provided network id
ownerstringOwner of the projectRelates to "SafranWebApiOwnerVerificationDuringApiCalls" in Application Settings
item_guidguidguid of the networkOptional Returns details for provided guid
  • When "SafranWebAPIOwnerVerificationDuringApiCalls" is in use the network_id is mandatory.
  • If ID, network_id and/or guid is passed to the API, all given values will be used.


Response Fields:

NameTypeDescriptionNotes
project_idintegerUnique ID of the project
scope_typestring"csh" or "rsh" or "tsh"csh - Baseline scope
rsh - Current scope
tsh - Total scope
qty_typestring"planned" or "contract"
variation_orderboolean
variation_order_requestboolean
internal_changeboolean
sub_contractedboolean


Show Response Sample

json result

[
  {
    "project_id": 1,
    "scope_type": "csh",
    "qty_type": "planned",
    "variation_order": true,
    "variation_order_request": false,
    "internal_change": false,
    "sub_contracted": false
    
    },
  {
    "project_id": 1,
    "scope_type": "rsh",
    "qty_type": "planned",
    "variation_order": true,
    "variation_order_request": false,
    "internal_change": false,
    "sub_contracted": false
    
    },
  {
    "project_id": 1,
    "scope_type": "tsh",
    "qty_type": "planned",
    "variation_order": true,
    "variation_order_request": true,
    "internal_change": false,
    "sub_contracted": false
    
    }
]


Was this article helpful?

What's Next