Issue2
Issue2
"CallingModule":"DOO",
"CallingInstance": "GPR",
"RequestCreationDateTime": "2024-09-16",
"ItemDetailList": [{
"ItemIdentifier": "BJ-SSP-ANALOG-M",
"AvailabilityForSubstituteItemsFlag":true,
"RequestedDateTime": "2024-09-16"
}]
}
{
"QuickAvailabilityCheckOutput": {
"PromisingSystem": "HVGOP",
"PromisingInstance": "GPR",
"PromiseDateTime": "2024-09-16T00:00:00.000+0000",
"ItemAvailabilityList": [
{
"ItemIdentifier": "BJ-SSP-ANALOG-M",
"RequestedDateTime": "2024-09-16T00:00:00.000+0000",
"ItemAvailabilityAtOrgList": [
{
"ShelfQuantity": 10.0,
"AvailableQuantity": 10.0,
"OrgInfoList": [
{
"OrgIdentifier": "D1"
}
]
},
{
"ShelfQuantity": 10.0,
"AvailableQuantity": 10.0,
"OrgInfoList": [
{
"OrgIdentifier": "D2"
}
]
}
]
}
],
"SubstituteItemAvailabilityList": [
{
"ItemIdentifier": "BJ-SSP-ANALOG-MS1",
"RequestedDateTime": "2024-09-16T00:00:00.000+0000",
"ItemAvailabilityAtOrgList": [
{
"ShelfQuantity": 10.0,
"AvailableQuantity": 10.0,
"OrgInfoList": [
{
"OrgIdentifier": "D1"
}
]
},
{
"ShelfQuantity": 20.0,
"AvailableQuantity": 20.0,
"OrgInfoList": [
{
"OrgIdentifier": "D2"
}
]
}
]
},
{
"ItemIdentifier": "BJ-SSP-ANALOG-MS2",
"RequestedDateTime": "2024-09-16T00:00:00.000+0000",
"ItemAvailabilityAtOrgList": [
{
"ShelfQuantity": 10.0,
"AvailableQuantity": 10.0,
"OrgInfoList": [
{
"OrgIdentifier": "D1"
}
]
},
{
"ShelfQuantity": 110.0,
"AvailableQuantity": 110.0,
"OrgInfoList": [
{
"OrgIdentifier": "D2"
}
]
}
]
}
]
}
}
https://cptatqnqy.fusionapps.ocs.oc-test.com:443/fscmRestApi/msp/latest/
globalOrderPromises/supplyAvailability
{
"CallingModule":"DOO",
"CallingInstance":"GPR",
"RequestCreationDateTime":"2024-09-16",
"QueryIdentifier":"2455",
"StartDateTime":"2024-09-16",
"EndDateTime":"2024-09-16",
"ItemAtOrgList":[
{
"ItemIdentifier":"BJ-SSP-B2B-C1",
"OrgInfo":{
"OrgIdentifier":"M1"
}
}
]
}
{
"SupplyAvailabilityOutput": {
"PromisingSystem": "HVGOP",
"PromisingInstance": "GPR",
"PromiseDateTime": "2024-09-16T00:00:00.000+0000",
"QueryIdentifier": "2455",
"ErrorCode": "E"
}
}
Input:
{
"CallingModule": "CART",
"CallingInstance": "GPR",
"RequestCreationDateTime":"2024-09-16",
"QueryIdentifier": "1422",
"StartDateTime": "2024-09-16",
"EndDateTime": "2024-09-16",
"ItemAtOrgList" :
[
{
"ItemIdentifier" : "BJ-SSP-B2B-C6",
"OrgInfo":{
"OrgIdentifier": "M1"
}
},
{
"ItemIdentifier" : "BJ-SSP-B2B-C6",
"OrgInfo":{
"OrgIdentifier": "M2"
}
},
{
"ItemIdentifier" : "BJ-SSP-B2B-C8",
"OrgInfo":{
"OrgIdentifier": "M1"
}
}
]
}
Output:{
"SupplyAvailabilityOutput": {
"PromisingSystem": "HVGOP",
"PromisingInstance": "GPR",
"PromiseDateTime": "2024-09-16T00:00:00.000+0000",
"QueryIdentifier": "1422",
"ErrorCode": "E"
}
}