post https://yourorgsite.com/api/LegacyCustomerType/_execute
Executes an operation of LegacyCustomerType
With the LegacyCustomerType service, you can perform the following operations on the execute endpoint:
- BulkAddAsync
- BulkEditAsync
BulkAddAsync
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "BulkAddAsync",
"EntityTypeName": "LegacyCustomerType",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.Collections.Generic.IEnumerable`1[[Asi.Soa.Core.DataContracts.LegacyCustomerTypeData, Asi.Contracts]]",
"$value": "contracts Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.Collections.Generic.IEnumerable`1[[Asi.Soa.Core.DataContracts.LegacyCustomerTypeData, Asi.Contracts]]"
]
},
"UseJson": false
}
BulkEditAsync
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "BulkEditAsync",
"EntityTypeName": "LegacyCustomerType",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.Collections.Generic.IEnumerable`1[[Asi.Soa.Core.DataContracts.LegacyCustomerTypeData, Asi.Contracts]]",
"$value": "contracts Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.Collections.Generic.IEnumerable`1[[Asi.Soa.Core.DataContracts.LegacyCustomerTypeData, Asi.Contracts]]"
]
},
"UseJson": false
}