Hi, I am trying to generate the shifts using the PSO REST API. I am posting the same payload where the workbench does (i extracted it from Audits) but it doesnt seem to work, it gets submitted but doesnt create any shifts.
posting to this endpoint - https://elex-pso-{{env}}.ifs.cloud/IFSSchedulingRESTfulGateway/api/v1/scheduling/data?dataType=MODELLING&waitForCompletion=true&childAccountId=cust
Anything that i am missing?
<DsModelling xmlns="http://360Scheduling.com/Schema/DsModelling.xsd">
<RAM_Data_Update>
<object_type_id>RAM_Rota</object_type_id>
<object_pk_name1>id</object_pk_name1>
<object_pk1>80de9cf5042945838531d1ff4811861e</object_pk1>
<column_name>modified</column_name>
<column_value>true</column_value>
<delete_row>false</delete_row>
</RAM_Data_Update>
<RAM_Rota_Alteration>
<ram_rota_id>80de9cf5042945838531d1ff4811861e</ram_rota_id>
<id>158</id>
<ram_resource_id>158</ram_resource_id>
<start_datetime>2023-10-22T22:00:00+00:00</start_datetime>
<end_datetime>2023-11-22T23:00:00+00:00</end_datetime>
</RAM_Rota_Alteration>
<RAM_Rota_Item>
<ram_rota_id>80de9cf5042945838531d1ff4811861e</ram_rota_id>
<id>9d12421249814e29edf4e469436e8265</id>
<ram_resource_id>158</ram_resource_id>
<start_datetime>2023-10-28T06:00:00+00:00</start_datetime>
<end_datetime>2023-10-28T14:00:00+00:00</end_datetime>
<ram_shift_category_id>STW</ram_shift_category_id>
<overtime_period>PT10M</overtime_period>
<ram_shift_template_id>40</ram_shift_template_id>
<split_allowed>true</split_allowed>
<description>Saturdays shift</description>
</RAM_Rota_Item>
<RAM_Rota_Membership_Period>
<ram_rota_id>80de9cf5042945838531d1ff4811861e</ram_rota_id>
<id>02ddd50c2ee74128e8b782486e7d5179</id>
<ram_resource_id>158</ram_resource_id>
<start_datetime>2023-10-17T18:30:00+00:00</start_datetime>
<end_datetime>2023-12-30T18:30:00+00:00</end_datetime>
</RAM_Rota_Membership_Period>
<RAM_Update>
<organisation_id>2</organisation_id>
<dataset_id>DS_DEV</dataset_id>
<id>179559</id>
<user_id>POSTMAN</user_id>
<ram_update_type_id>CHANGE</ram_update_type_id>
<is_master_data>false</is_master_data>
<requesting_app_type_id>PSW</requesting_app_type_id>
<requesting_app_instance_id>10.0.0.5</requesting_app_instance_id>
</RAM_Update>
</DsModelling>