Change Order
  • 18 Jul 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Change Order

  • Dark
    Light
  • PDF

Article summary

Change order register

/v1/changeorder

Change order register

Example for calling:

http://server/v1/changeorder?network_id=9 - retrieves all change orders related to the network with network id = 9

http://server/v1/changeorder?network_id=9&id=1 - retrieves change orders with id = 1 for network with network id = 9

Allowed Methods:

[GET]
API Controller: Changeorder

Description:

Retrieves the change order details for specific networks. all network-related change orders if no ID is specified. The caller must specify network ID.

Parameters:

NameTypeDescriptionNote
network_idintegerNetwork Id related to the change ordersMandatory
idintegerChange order ID
ownerstringOwner of the networkRelated to "SafranWebApiOwnerVerificationDuringApiCalls" in "Application Settings"
  • When "SafranWebApiOwnerVerificationDuringApiCalls" is in use, the owner is mandatory.

Response Fields:

NameTypeDescriptionNotes
SeqintegerCorrespond to the ID in Parameters
ChangeOrder_NumberString
Client_NumberString
RevisionString
Descriptionstring
ResponsiblestringPerson responsible for the change order
Issue_DateDate timeDate when the change order was created/issued
Accepted_DateDate timeDate for the acceptance of the change order
Remarksstring
ChangeOrder_TypestringSingle character defining the change order typeV = variation order,
R = variation order request,
I = internal change,
S = Subcontracted
Net_IdintegerCorrespond to the network_id in Parameters


Sample JSON Response
[
  {
    "Seq": 1,
    "ChangeOrder_Number": "Change 001",
    "Client_Number": "Client A01",
    "Revision": "0",
    "Description": "This change is needed as per last agreement.",
    "Responsible": "SAFRANSA",
    "Issue_Date": "2020-07-08T00:00:00",
    "Remarks": "There are no remarks added to this change request.",
    "ChangeOrder_Type": "R",
    "Net_Id": 9
    }
]


Was this article helpful?

What's Next