Znode

Build Version:

POST portalcountries

Creates a new portal country.

Request Information

» Parameters

Name Description Additional information
model The model of the portal country.

Define this parameter in the request body.

Request Body Formats

Sample:
	{
  "Country": {
    "$id": "2",
    "Code": "sample string 1",
    "DisplayOrder": 2,
    "IsActive": true,
    "Name": "sample string 4",
    "States": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "Code": "sample string 1",
          "CountryCode": "sample string 2",
          "Name": "sample string 3"
        },
        {
          "$ref": "4"
        },
        {
          "$ref": "4"
        }
      ]
    },
    "IsBillingActive": true,
    "IsShippingActive": true
  },
  "CountryCode": "sample string 1",
  "IsBillingActive": true,
  "IsShippingActive": true,
  "PortalCountryId": 4,
  "PortalId": 5,
  "CountryName": "sample string 6"
}