Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery.ajax({
- "method": "post",
- "url": "/api/SCHA_ASC_PS_IndividualDemo",
- "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": user
- },
- {
- "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
- "Name": "IndRegion",
- "Value": region
- }
- ]
- }
- }),
- success: function(data) {
- console.log(data);
- },
- error: function() {
- console.error("runRequests Error", "user", arguments);
- },
- complete: function() {
- runRequests(++userIndex);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment