Anonymous

My feedback

  1. 2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    9 comments  ·  Developers » API  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    Anonymous commented  · 

    {
    "FieldName": "Identified Gender",
    "SystemCode": "custom-11685491",
    "Value" : [
    {
    "Id": 12827714
    }
    ]
    }
    i have try with this one. but it is not working. these are my fields of gender. i mapped explicit values.
    {
    "Id": 11685491,
    "FieldName": "Identified Gender",
    "Type": "MultipleChoice",
    "AllowedValues": [
    {
    "Id": 12827714,
    "Label": "Male",
    "SelectedByDefault": false
    },
    {
    "Id": 12827715,
    "Label": "Female",
    "SelectedByDefault": false
    },
    {
    "Id": 12827716,
    "Label": "Prefer Not to Answer",
    "SelectedByDefault": false
    }
    ],
    "IsSystem": false,
    "Description": "",
    "Order": 2,
    "SystemCode": "custom-11685491",
    "IsRequired": false,
    "Access": "Nobody",
    "AdminOnly": false,
    "MemberOnly": false,
    "IsBuiltIn": false,
    "SupportSearch": true,
    "IsEditable": true
    },

    An error occurred while saving the comment
    Anonymous commented  · 

    let me try with ID value and let you know.

    Anonymous supported this idea  · 
    An error occurred while saving the comment
    Anonymous commented  · 

    What is the exact value I need to pass it in my JSON for gender values? first name, email and last name are added. but the gender field is not mapped with it.

    An error occurred while saving the comment
    Anonymous commented  · 


    i would like to map my gravity from the gender option with the wild apricot contact field via add contact API. this is my gender field that I get it from contact/fields API.

    {
    "Id": 11685491,
    "FieldName": "Identified Gender",
    "Type": "MultipleChoice",
    "AllowedValues": [
    {
    "Id": 12827714,
    "Label": "Male",
    "SelectedByDefault": false
    },
    {
    "Id": 12827715,
    "Label": "Female",
    "SelectedByDefault": false
    },
    {
    "Id": 12827716,
    "Label": "Prefer Not to Answer",
    "SelectedByDefault": false
    }
    ],

    this is my api call that i am try to send it for add contact to WA.

    var options = { method: 'POST',
    url: 'https://api.wildapricot.org/v2/accounts/111111/Contacts/',
    form:
    {
    Email: "imran@im.com",
    FirstName: "imran",
    LastName: "khan",
    FieldValues: [
    {
    "FieldName": "Identified Gender",
    "SystemCode": "custom-11685491",
    "Value" : {
    "Id": 12827714,
    "Label": "Male",
    "SelectedByDefault": false
    }
    }
    ]
    },
    headers: {
    'content-type': 'application/x-www-form-urlencoded',
    'Accept': 'application/json',
    "Authorization": "Bearer "+body.access_token
    },
    json: true
    };

    An error occurred while saving the comment
    Anonymous commented  · 

    Please any one suggest me something related to it.

    Anonymous shared this idea  · 
  2. 3 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  Developers » API  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    Anonymous commented  · 

    do you have any idea how to send radio button or checkbox values to add contact api?

Feedback and Knowledge Base