Service Directory > v25.1 > Resource_Management > Put_Airport
 

Operation: Put_Airport

Creates a new Airport or modifies an existing Airport. If you supply a valid ID, then the existing Airport is modified. Otherwise, the operation creates a new Airport.


@ - A parameter name with this symbol denotes an XML attribute within the document instead of an XML element.


Contents

 

Web Service

 

Request

 

Response

 

Element(s)

 

Request Element: Put_Airport_Request

Element containing Airport reference for update and all Airport data items
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
@Add_Only  boolean  [1..1]  Add Only   
Airport_Reference  AirportObject  [0..1]  Airport Reference   
Airport_Data  Airport_Data  [1..1]  Airport Data 
Validation Description
The Airport Data Value "[value]" is already in use.  Spend Data instances of the same Data Value and Attribute Type is not allowed. 
 
Validation Description
The Web Service is set to Add Only; but the Airport already exists.  Create a new Airport, or change 'Add Only' to 'false' to edit the existing Airport. 
top
 

Response Element: Put_Airport_Response

Element containing the Airport Reference and Data that is sent in the response
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Airport_Reference  AirportObject  [0..1]  Airport Reference   
top
 

AirportObject

part of: Put_Airport_Request, Put_Airport_Response
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  AirportObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

AirportObjectID

part of: AirportObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Spend_Data_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Airport_Data

part of: Put_Airport_Request
Element that contains Airport Data
 
Parameter name Type/Value Cardinality Description Validations
Spend_Data_ID  string  [0..1]  Airport ID   
Airport_Value  string  [1..1]  Aiprot Value   
Validation Description
The Airport Data Value "[value]" is already in use.  Spend Data instances of the same Data Value and Attribute Type is not allowed. 
top
 

AirportReferenceEnumeration

part of: AirportObjectID
Base Type
string
top