Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
10 kB
4
Indexable
Never
// Get Chartering In Product Detail
{
    "message": "Success",
    "statusCode": 200,
    "detail": [
        {
            "Id": "a4MIo000000CbzDMAS",
            "Name": "CHRT-2401-0016",
            "BSS__c": "1:1",
            "Charterer__c": "ITOCHU SINGAPORE PTE LTD",
            "Chartering_For__c": "CMPS - International Export",
            "Comment_for_Trader__c": null,
            "CreatedById": "005Io000000xwcWIAQ",
            "Discharging_Port_1__c": null,
            "LastModifiedById": "005Io000000xwcWIAQ",
            "Load_Port_1__c": null,
            "On_Subject_Date__c": "2024-08-14",
            "OwnerId": "005Io00000105eBIAQ",
            "Previous_Version_Form__c": null,
            "Reason_for_Chartering_In__c": null,
            "Request_by__c": "005Io00000105eBIAQ",
            "Revise_Reason__c": null,
            "Status__c": "Draft",
            "Vessel_Laycan_End__c": null,
            "Vessel_Laycan_Start__c": null,
            "Negotiation_Summary__r": {
                "totalSize": 2,
                "done": true,
                "records": [
                    {
                        "attributes": {
                            "type": "Negotiation_Summary__c",
                            "url": "/services/data/v42.0/sobjects/Negotiation_Summary__c/a4OIo0000000FgRMAU"
                        },
                        "Id": "a4OIo0000000FgRMAU",
                        "Name": "a4OIo0000000FgR",
                        "Broker__c": null,
                        "Chartering_in_Product_Approval_Form__c": "a4MIo000000CbzDMAS",
                        "CreatedById": "005Io000000xwcWIAQ",
                        "Currency__c": null,
                        "Demurrage__c": 0,
                        "DWT__c": null,
                        "Final_Deal__c": null,
                        "Freight__c": 0,
                        "LastModifiedById": "005Io000000xwcWIAQ",
                        "Laytime__c": 0,
                        "Net_Freight__c": 0,
                        "Owner__c": null,
                        "OwnerId": "005Io00000105eBIAQ",
                        "Targeted_Vessel__c": null,
                        "Total_Freight__c": 0,
                        "Year__c": null
                    },
                    {
                        "attributes": {
                            "type": "Negotiation_Summary__c",
                            "url": "/services/data/v42.0/sobjects/Negotiation_Summary__c/a4OIo0000000FgWMAU"
                        },
                        "Id": "a4OIo0000000FgWMAU",
                        "Name": "a4OIo0000000FgW",
                        "Broker__c": null,
                        "Chartering_in_Product_Approval_Form__c": "a4MIo000000CbzDMAS",
                        "CreatedById": "005Io000000xwcWIAQ",
                        "Currency__c": null,
                        "Demurrage__c": 0,
                        "DWT__c": null,
                        "Final_Deal__c": null,
                        "Freight__c": 0,
                        "LastModifiedById": "005Io000000xwcWIAQ",
                        "Laytime__c": 0,
                        "Net_Freight__c": 0,
                        "Owner__c": null,
                        "OwnerId": "005Io00000105eBIAQ",
                        "Targeted_Vessel__c": null,
                        "Total_Freight__c": 0,
                        "Year__c": null
                    }
                ]
            }
        }
    ]
}


// Get Negotiation Summary Detail
{
    "message": "Success",
    "statusCode": 200,
    "detail": [
        {
            "Id": "a4OIo0000000FgRMAU",
            "Name": "a4OIo0000000FgR",
            "Broker__c": null,
            "Chartering_in_Product_Approval_Form__c": "a4MIo000000CbzDMAS",
            "CreatedById": "005Io000000xwcWIAQ",
            "Currency__c": null,
            "Demurrage__c": 0,
            "DWT__c": null,
            "Final_Deal__c": null,
            "Freight__c": 0,
            "LastModifiedById": "005Io000000xwcWIAQ",
            "Laytime__c": 0,
            "Net_Freight__c": 0,
            "Owner__c": null,
            "OwnerId": "005Io00000105eBIAQ",
            "Targeted_Vessel__c": null,
            "Total_Freight__c": 0,
            "Year__c": null,
            "Fixing_Item__r": {
                "totalSize": 2,
                "done": true,
                "records": [
                    {
                        "attributes": {
                            "type": "Fixing_Item__c",
                            "url": "/services/data/v42.0/sobjects/Fixing_Item__c/a4RIo0000004CboMAE"
                        },
                        "Id": "a4RIo0000004CboMAE",
                        "Name": "a4RIo0000004Cbo",
                        "CreatedById": "005Io000000xwcWIAQ",
                        "Fixing_Items__c": "THB/LITRE",
                        "Fixing_Value__c": 10,
                        "LastModifiedById": "005Io000000xwcWIAQ",
                        "Negotiation_Summary__c": "a4OIo0000000FgRMAU",
                        "Other_Fixing_Detail__c": "test",
                        "OwnerId": "005Io000000xwcWIAQ"
                    },
                    {
                        "attributes": {
                            "type": "Fixing_Item__c",
                            "url": "/services/data/v42.0/sobjects/Fixing_Item__c/a4RIo0000004CbtMAE"
                        },
                        "Id": "a4RIo0000004CbtMAE",
                        "Name": "a4RIo0000004Cbt",
                        "CreatedById": "005Io000000xwcWIAQ",
                        "Fixing_Items__c": "THB/LITRE",
                        "Fixing_Value__c": 10,
                        "LastModifiedById": "005Io000000xwcWIAQ",
                        "Negotiation_Summary__c": "a4OIo0000000FgRMAU",
                        "Other_Fixing_Detail__c": "test",
                        "OwnerId": "005Io000000xwcWIAQ"
                    }
                ]
            }
        }
    ]
}


//Get Fixing Item Detail
{
    "message": "Success",
    "statusCode": 200,
    "detail": [
        {
            "Id": "a4RIo0000004CboMAE",
            "Name": "a4RIo0000004Cbo",
            "CreatedById": "005Io000000xwcWIAQ",
            "Fixing_Items__c": "THB/LITRE",
            "Fixing_Value__c": 10,
            "LastModifiedById": "005Io000000xwcWIAQ",
            "Negotiation_Summary__c": "a4OIo0000000FgRMAU",
            "Other_Fixing_Detail__c": "test",
            "OwnerId": "005Io000000xwcWIAQ",
            "Offer_and_Counter__r": {
                "totalSize": 1,
                "done": true,
                "records": [
                    {
                        "attributes": {
                            "type": "Offer_and_Counter__c",
                            "url": "/services/data/v42.0/sobjects/Offer_and_Counter__c/a4PIo000000CfZdMAK"
                        },
                        "Id": "a4PIo000000CfZdMAK",
                        "Name": "a4PIo000000CfZd",
                        "Counter__c": "test",
                        "CreatedById": "005Io000000xwcWIAQ",
                        "Fixing_Item__c": "a4RIo0000004CboMAE",
                        "LastModifiedById": "005Io000000xwcWIAQ",
                        "Offer__c": "test",
                        "OwnerId": "005Io000000xwcWIAQ"
                    }
                ]
            }
        }
    ]
}


//Get Offer And Counter Detail
{
    "message": "Success",
    "statusCode": 200,
    "detail": [
        {
            "Id": "a4OIo0000000FgRMAU",
            "Name": "a4OIo0000000FgR",
            "Broker__c": null,
            "Chartering_in_Product_Approval_Form__c": "a4MIo000000CbzDMAS",
            "CreatedById": "005Io000000xwcWIAQ",
            "Currency__c": null,
            "Demurrage__c": 0,
            "DWT__c": null,
            "Final_Deal__c": null,
            "Freight__c": 0,
            "LastModifiedById": "005Io000000xwcWIAQ",
            "Laytime__c": 0,
            "Net_Freight__c": 0,
            "Owner__c": null,
            "OwnerId": "005Io00000105eBIAQ",
            "Targeted_Vessel__c": null,
            "Total_Freight__c": 0,
            "Year__c": null,
            "Fixing_Item__r": {
                "totalSize": 2,
                "done": true,
                "records": [
                    {
                        "attributes": {
                            "type": "Fixing_Item__c",
                            "url": "/services/data/v42.0/sobjects/Fixing_Item__c/a4RIo0000004CboMAE"
                        },
                        "Id": "a4RIo0000004CboMAE",
                        "Name": "a4RIo0000004Cbo",
                        "CreatedById": "005Io000000xwcWIAQ",
                        "Fixing_Items__c": "THB/LITRE",
                        "Fixing_Value__c": 10,
                        "LastModifiedById": "005Io000000xwcWIAQ",
                        "Negotiation_Summary__c": "a4OIo0000000FgRMAU",
                        "Other_Fixing_Detail__c": "test",
                        "OwnerId": "005Io000000xwcWIAQ"
                    },
                    {
                        "attributes": {
                            "type": "Fixing_Item__c",
                            "url": "/services/data/v42.0/sobjects/Fixing_Item__c/a4RIo0000004CbtMAE"
                        },
                        "Id": "a4RIo0000004CbtMAE",
                        "Name": "a4RIo0000004Cbt",
                        "CreatedById": "005Io000000xwcWIAQ",
                        "Fixing_Items__c": "THB/LITRE",
                        "Fixing_Value__c": 10,
                        "LastModifiedById": "005Io000000xwcWIAQ",
                        "Negotiation_Summary__c": "a4OIo0000000FgRMAU",
                        "Other_Fixing_Detail__c": "test",
                        "OwnerId": "005Io000000xwcWIAQ"
                    }
                ]
            }
        }
    ]
}
Leave a Comment