Discussions
Posting to Panel source
We have written a post to a panel and it's been working for over a month and now all of a sudden it's not working. The only change that's been made has been an update to the url going from njcaa.imiscloud.com to connect.njcaa.com. We are logged in as a company administrator of the organization we are posting. We are still able to post to activity without any issues but panels are not. Example post:
jQuery.ajax({
"method": "post",
"url": String("https://connect.njcaa.org/api/NJCAA_ASC_P_LOIHistory"),
"headers": {
"RequestVerificationToken": jQuery("#__RequestVerificationToken").val()
},
"dataType": "json",
"contentType": "application/json",
"data": JSON.stringify({
"$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": "ID",
"Value": 1236
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AcademicTerm",
"Value": "Fall"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AtheleticDirectorID",
"Value": 137126
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Date",
"Value": "6/17/2019"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Sport",
"Value": "Mens Basketball"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "SchoolYear",
"Value": "2019-2020"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "StudentID",
"Value": "1213456"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Division",
"Value": "Division I"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Terms",
"Value": "test test"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AthleticDirectorSignature",
"Value": "First Last"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "AthleticDirectorSignDate",
"Value": signatureDate
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "Scholarship",
"Value": "test test test"
}
]
}
})
})