HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
Discussions

Discussions

Ask a Question
Back to All

How to create a contact using CsContact in the api?

I am having trouble creating a new contact in CsContact using a POST request:

{
"$type": "Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts",
"Properties": {
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Gender",
"Value": ""
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Status",
"Value": "A"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "MemberType",
"Value": "M"
}
]
}
}

Could you please provide an example of an object that can be successfully posted?

Thanks,

Will