Developer Q&A
Sample fields for Coca Cola
This question is related to integrating Corrogo with Coca Cola.We are already in touch with Kevin Gould [email protected]
I have tried to create Work Order in provided stage environment however I am not sure sample values for fields SpaceUnitAssetId, SpaceUnitSubAssetId and TaskId for Coca Cola. Could you help ?
. Below are the mandatory fields to create Work Order.
- SpaceUnitAssetId
- SpaceUnitSubAssetId
- TaskId
- CustomerId
- WorkZoneId
- WorkOrderSubTypeId
I am able to create Work Zone, Customer ,Contact using Corrigo Service but I am unable to create New Space using below code snippet.
var command = new SpaceCreateCommand
{
CustomerId = 51,
Instructions = "please clean up everything",
NewUnitSpecifier = new NewUnitSpecifier
{
//BuildingName = "some building",
//BuildingFloorPlan = "some floor plan",
//FloorName = "floor name 1",
//FloorFloorPlan = "floor floor floor plan",
UnitName = "test unit 1 name",
UnitFloorPlan = "Unit1",
StreetAddress = new Address2 { ActorTypeId = ActorType.CommLeaseSpace, },
UnitInfo = new AssetInfo { }
}
};
var response = service.Execute(command);
Also, I have tried to get the space details by providing spaceId. But I am not sure sample values for the fields SpaceUnitAssetId, SpaceUnitSubAssetId and TaskId.