Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var createBoundActionWithPrimitiveTypeRequest = function(entityId){
- return{
- getMetadata : function(){
- return {
- boundParameter: D365WebApiUtil.BoundParameter.Entity,
- operationName : actionNames.BoundWithPrimitiveTypes,
- operationType : D365WebApiUtil.OperationType.Action,
- parameterTypes : {
- entity : {
- typeName : 'mscrm.contact',
- structuralProperty : D365WebApiUtil.StructuralProperty.EntityType
- },
- Name : {
- typeName : 'Edm.String',
- structuralProperty : D365WebApiUtil.StructuralProperty.PrimitiveType
- },
- Age : {
- typeName : 'Edm.Int32',
- structuralProperty : D365WebApiUtil.StructuralProperty.PrimitiveType
- },
- IsReady : {
- typeName : 'Edm.Boolean',
- structuralProperty : D365WebApiUtil.StructuralProperty.PrimitiveType
- }
- }
- }
- },
- entity : {
- id : entityId,
- entityType : 'contact'
- },
- Name : 'Code Bug',
- Age : 45,
- IsReady : true
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement