I can see the problems , the below formula should work
"https://random.company.co.uk/api/status/"&{something}&"?dateOfBirth="&DATETIME_FORMAT({Date of Birth}, "DD/MM/YYYY")&"&surname="&{Surname}&"&hasAgreedTermsAndConditions=true&organisationName=Tidal+Supply&employeeSurname=employeeForename=Jones"
Of course since I dont have the field names Im only able to assume.
The idea is you need to concatenate the data and where you need the ampersand you can do it like this &"&surname=
Thanks for your help Mohamed,
Unfortunately, the TermsAndConditions=true section in the formula leads to the following message: Formula functions must be immediately followed by “(”.
Do you know of a way to show airtable that this part of the url is not to be treated as a formula?
Sorry for being so think here - I have no knowledge of coding and this is really pushing the boundaries of my knowlegde.
Unfortunately, the TermsAndConditions=true section in the formula leads to the following message: Formula functions must be immediately followed by “(”.
Do you know of a way to show airtable that this part of the url is not to be treated as a formula?
Sorry for being so think here - I have no knowledge of coding and this is really pushing the boundaries of my knowlegde.
Hi Huw,
The formula is just an example :slightly_smiling_face:
Basically you put anything you need between quotation marks "Text Here" so Airtable would understand that this is a fixed text and not a field.
If you want to share a screenshot or a view of the base so I can write the formula in the way you need it I ll be happy to do it
Unfortunately, the TermsAndConditions=true section in the formula leads to the following message: Formula functions must be immediately followed by “(”.
Do you know of a way to show airtable that this part of the url is not to be treated as a formula?
Sorry for being so think here - I have no knowledge of coding and this is really pushing the boundaries of my knowlegde.
Welcome to the Airtable community!
Maybe this pattern will be easier for you to follow:
The formula is just an example :slightly_smiling_face:
Basically you put anything you need between quotation marks "Text Here" so Airtable would understand that this is a fixed text and not a field.
If you want to share a screenshot or a view of the base so I can write the formula in the way you need it I ll be happy to do it
Thank you Mohamed once again. I’ve got this part working now. I am now having difficulty formatting the date of birth in the DD/MM/YYY format. Would you mind showing me where I’m going wrong here? I figured out it was something to do with the date string thanks to @kuovonne 's kind answers.
Thank you Mohamed once again. I’ve got this part working now. I am now having difficulty formatting the date of birth in the DD/MM/YYY format. Would you mind showing me where I’m going wrong here? I figured out it was something to do with the date string thanks to @kuovonne 's kind answers.
Nope. I have used this pattern several times. Is it not working for you?
No, but I saw the pattern lacked an else argument and assumed that it would not magically concatenate an empty string. I guess it does have some magic. :winking_face:
I can see the problems , the below formula should work
"https://random.company.co.uk/api/status/"&{something}&"?dateOfBirth="&DATETIME_FORMAT({Date of Birth}, "DD/MM/YYYY")&"&surname="&{Surname}&"&hasAgreedTermsAndConditions=true&organisationName=Tidal+Supply&employeeSurname=employeeForename=Jones"
I can see the problems , the below formula should work
"https://random.company.co.uk/api/status/"&{something}&"?dateOfBirth="&DATETIME_FORMAT({Date of Birth}, "DD/MM/YYYY")&"&surname="&{Surname}&"&hasAgreedTermsAndConditions=true&organisationName=Tidal+Supply&employeeSurname=employeeForename=Jones"