Service Directory > v31.2 > 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. 
A valid country is required.   
A valid Country Region is required   
 
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, Airport_ID, 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]  Airport Value   
Airport_Name  string  [0..1]  Airport Name   
Country_Reference  CountryObject  [0..1]  Country in which Airport is located   
Country_Region_Reference  Country_RegionObject  [0..1]  Country Region within which the Airport is located   
Travel_City_Reference  Travel_CityObject  [0..1]  Travel City in which Airport is located   
Inactive  boolean  [0..1]  If the value is 1, the airport will be marked as inactive. By default , airports are considered active.   
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. 
A valid country is required.   
A valid Country Region is required   
top
 

CountryObject

part of: Airport_Data
 
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  CountryObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

CountryObjectID

part of: CountryObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, ISO_3166-1_Alpha-2_Code, ISO_3166-1_Alpha-3_Code, ISO_3166-1_Numeric-3_Code  [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
 

Country_RegionObject

part of: Airport_Data
 
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  Country_RegionObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Country_RegionObjectID

part of: Country_RegionObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Country_Region_ID, ISO_3166-2_Code  [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
 

Travel_CityObject

part of: Airport_Data
 
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  Travel_CityObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Travel_CityObjectID

part of: Travel_CityObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Spend_Data_ID, Travel_City_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
 

AirportReferenceEnumeration

part of: AirportObjectID
Base Type
string
top
 

CountryReferenceEnumeration

part of: CountryObjectID
Base Type
string
top
 

Country_RegionReferenceEnumeration

part of: Country_RegionObjectID
Base Type
string
top
 

Travel_CityReferenceEnumeration

part of: Travel_CityObjectID
Base Type
string
top