Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var fromArray = [];
- var PhoneCall = {
- from: fromArray,
- to: toArray,
- Subject: "Create a phonecall record",
- OwnerId: fromArray,
- PhoneNumber: phoneNumber
- }
- CrmRestKit.Create("PhoneCall", PhoneCall)
- .fail(function (xhr, status, errorThrown)
- {
- console.log(JSON.stringify(xhr, null, 4));
- console.log(JSON.stringify(status, null, 4));
- console.log(JSON.stringify(errorThrown, null, 4));
- })
- .done(function (data, status, xhr) {
- console.log(JSON.stringify(data, null, 4));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement