Link Search Menu Expand Document

6. List Owner Org Properties

Op name:

scgrids.listOwnerOrgProperties

This lists all the owner Org properties

Endpoint:

Method: POST
Type: application/json
URL: /v1/actions

Headers:

Key Value Description
Authorization   (Required) The Acccess Token or HMAC Signature
x-sc-identity external (Required)

Query params:

Key Value Description
op scgrids.listOwnerOrgProperties (Required) Operation Name
org   (Required) Organisation Name
pid scnoop (Required) Project ID is scnoop when it’s not known

Body:

{
    "PropTypeID": "BANK"
}

More example Requests/Responses:

I. Example Request: List Owner Org Properties

Body:

{
    "PropTypeID": "BANK"
}
I. Example Response: List Owner Org Properties
{
    "status": 200,
    "message": "Success",
    "data": [
        {
            "OrgId": "",
            "PropId": "",
            "Name": "Test Property 10",
            "Address": {
                "Street": "16th Cross, J P Nagar",
                "City": "Bangalore",
                "State": "Karnataka",
                "Country": "India",
                "PostalCode": "560078",
                "Coordinates": {
                    "Latitude": 3.165725,
                    "Longitude": 101.646267
                }
            },
            "TypeID": "BANK",
            "Status": "INACTIVE",
            "TimeZone": "Asia/Kolkata"
        },
        {
            "OrgId": "",
            "PropId": "",
            "Name": "Test Property 10",
            "Address": {
                "Street": "16th Cross, J P Nagar",
                "City": "Bangalore",
                "State": "Karnataka",
                "Country": "India",
                "PostalCode": "560078",
                "Coordinates": {
                    "Latitude": 3.165725,
                    "Longitude": 101.646267
                }
            },
            "TypeID": "BANK",
            "Status": "INACTIVE",
            "TimeZone": "Asia/Kolkata"
        }
    ]
}

Status Code: 200

Error codes:

400
Possible reasons:
1. Missing op/org/pid



Table of contents