amadeus-ws-client icon indicating copy to clipboard operation
amadeus-ws-client copied to clipboard

How to create an Individual PNR security (ES Element) in AddMultiElements

Open travelusvn opened this issue 5 years ago • 5 comments

Dear @DerMika & Gentlemen, I searched hard but couldn't figure out how to create an ES element, please help. Element i need to generate like that:

<PNR_AddMultiElements xmlns="http://xml.amadeus.com/PNRADD_17_1_1A"> <pnrActions> <optionCode>0</optionCode> </pnrActions> <dataElementsMaster> <marker1/> <dataElementsIndiv> <elementManagementData> <segmentName>ES</segmentName> </elementManagementData> <pnrSecurity> <security> <identification>OFFICE-ID</identification> <accessMode>R</accessMode> </security> <indicator>G</indicator> </pnrSecurity> </dataElementsIndiv> </dataElementsMaster> </PNR_AddMultiElements> thank you very much Doan

travelusvn avatar Sep 17 '19 01:09 travelusvn

Unfortunately there are not implemented this element. You can create a PR or if you can't I could.

therealartz avatar Sep 18 '19 13:09 therealartz

hi @therealartz , please help me to create a PR

thanks alot Doan

travelusvn avatar Sep 19 '19 01:09 travelusvn

@travelusvn there's a contribution guide https://github.com/amabnl/amadeus-ws-client/blob/master/CONTRIBUTING.md

therealartz avatar Sep 19 '19 06:09 therealartz

I really want to help by creating PR but now I don't have access to Amadeus SOAP API and I can't create correct class without docs.

therealartz avatar Oct 09 '19 20:10 therealartz

@travelusvn already implemented see docs https://github.com/amabnl/amadeus-ws-client/blob/master/docs/samples/pnr-create-modify.rst#security-element-es

suiram2010 avatar Dec 14 '20 14:12 suiram2010