POST api/Eservices

Request Information

URI Parameters

None.

Body Parameters

Eservice
NameDescriptionTypeAdditional information
Id

string

None.

EserviceName

string

None.

EserviceNameAr

string

None.

Url

string

None.

CreatedOn

date

None.

IsDeleted

boolean

None.

EserviceTypes

Collection of EserviceType

None.

ServiceLicenses

Collection of ServiceLicens

None.

UserServices

Collection of UserService

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "EserviceName": "sample string 2",
  "EserviceNameAr": "sample string 3",
  "Url": "sample string 4",
  "CreatedOn": "2025-04-28T03:00:44.6275829+03:00",
  "IsDeleted": true,
  "EserviceTypes": [
    {
      "Id": 1,
      "EserviceId": "sample string 2",
      "EserviceTypeEn": "sample string 3",
      "EserviceTypeAr": "sample string 4",
      "Url": "sample string 5",
      "CreatedOn": "2025-04-28T03:00:44.6275829+03:00",
      "IsDeleted": true,
      "EserviceTypeBranches": [
        {
          "Id": 1,
          "EserviceTypeId": 1,
          "EserviceTypeBranchEn": "sample string 2",
          "EserviceTypeBranchAr": "sample string 3",
          "Url": "sample string 4",
          "CreatedOn": "2025-04-28T03:00:44.6275829+03:00",
          "IsDeleted": true,
          "Fees": 1.0,
          "ActivityTypesId": 1
        },
        {
          "Id": 1,
          "EserviceTypeId": 1,
          "EserviceTypeBranchEn": "sample string 2",
          "EserviceTypeBranchAr": "sample string 3",
          "Url": "sample string 4",
          "CreatedOn": "2025-04-28T03:00:44.6275829+03:00",
          "IsDeleted": true,
          "Fees": 1.0,
          "ActivityTypesId": 1
        }
      ]
    },
    {
      "Id": 1,
      "EserviceId": "sample string 2",
      "EserviceTypeEn": "sample string 3",
      "EserviceTypeAr": "sample string 4",
      "Url": "sample string 5",
      "CreatedOn": "2025-04-28T03:00:44.6275829+03:00",
      "IsDeleted": true,
      "EserviceTypeBranches": [
        {
          "Id": 1,
          "EserviceTypeId": 1,
          "EserviceTypeBranchEn": "sample string 2",
          "EserviceTypeBranchAr": "sample string 3",
          "Url": "sample string 4",
          "CreatedOn": "2025-04-28T03:00:44.6275829+03:00",
          "IsDeleted": true,
          "Fees": 1.0,
          "ActivityTypesId": 1
        },
        {
          "Id": 1,
          "EserviceTypeId": 1,
          "EserviceTypeBranchEn": "sample string 2",
          "EserviceTypeBranchAr": "sample string 3",
          "Url": "sample string 4",
          "CreatedOn": "2025-04-28T03:00:44.6275829+03:00",
          "IsDeleted": true,
          "Fees": 1.0,
          "ActivityTypesId": 1
        }
      ]
    }
  ],
  "ServiceLicenses": [
    {
      "Id": 1,
      "ServiceId": "sample string 2",
      "LicenseNameAr": "sample string 3",
      "LicenseNameEn": "sample string 4"
    },
    {
      "Id": 1,
      "ServiceId": "sample string 2",
      "LicenseNameAr": "sample string 3",
      "LicenseNameEn": "sample string 4"
    }
  ],
  "UserServices": [
    {
      "ServiceId": "sample string 1",
      "CivilID": "sample string 2",
      "CreatedOn": "2025-04-28T03:00:44.6275829+03:00"
    },
    {
      "ServiceId": "sample string 1",
      "CivilID": "sample string 2",
      "CreatedOn": "2025-04-28T03:00:44.6275829+03:00"
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Eservice
NameDescriptionTypeAdditional information
Id

string

None.

EserviceName

string

None.

EserviceNameAr

string

None.

Url

string

None.

CreatedOn

date

None.

IsDeleted

boolean

None.

EserviceTypes

Collection of EserviceType

None.

ServiceLicenses

Collection of ServiceLicens

None.

UserServices

Collection of UserService

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "EserviceName": "sample string 2",
  "EserviceNameAr": "sample string 3",
  "Url": "sample string 4",
  "CreatedOn": "2025-04-28T03:00:44.6966248+03:00",
  "IsDeleted": true,
  "EserviceTypes": [
    {
      "Id": 1,
      "EserviceId": "sample string 2",
      "EserviceTypeEn": "sample string 3",
      "EserviceTypeAr": "sample string 4",
      "Url": "sample string 5",
      "CreatedOn": "2025-04-28T03:00:44.6966248+03:00",
      "IsDeleted": true,
      "EserviceTypeBranches": [
        {
          "Id": 1,
          "EserviceTypeId": 1,
          "EserviceTypeBranchEn": "sample string 2",
          "EserviceTypeBranchAr": "sample string 3",
          "Url": "sample string 4",
          "CreatedOn": "2025-04-28T03:00:44.6966248+03:00",
          "IsDeleted": true,
          "Fees": 1.0,
          "ActivityTypesId": 1
        },
        {
          "Id": 1,
          "EserviceTypeId": 1,
          "EserviceTypeBranchEn": "sample string 2",
          "EserviceTypeBranchAr": "sample string 3",
          "Url": "sample string 4",
          "CreatedOn": "2025-04-28T03:00:44.6966248+03:00",
          "IsDeleted": true,
          "Fees": 1.0,
          "ActivityTypesId": 1
        }
      ]
    },
    {
      "Id": 1,
      "EserviceId": "sample string 2",
      "EserviceTypeEn": "sample string 3",
      "EserviceTypeAr": "sample string 4",
      "Url": "sample string 5",
      "CreatedOn": "2025-04-28T03:00:44.6966248+03:00",
      "IsDeleted": true,
      "EserviceTypeBranches": [
        {
          "Id": 1,
          "EserviceTypeId": 1,
          "EserviceTypeBranchEn": "sample string 2",
          "EserviceTypeBranchAr": "sample string 3",
          "Url": "sample string 4",
          "CreatedOn": "2025-04-28T03:00:44.6966248+03:00",
          "IsDeleted": true,
          "Fees": 1.0,
          "ActivityTypesId": 1
        },
        {
          "Id": 1,
          "EserviceTypeId": 1,
          "EserviceTypeBranchEn": "sample string 2",
          "EserviceTypeBranchAr": "sample string 3",
          "Url": "sample string 4",
          "CreatedOn": "2025-04-28T03:00:44.6966248+03:00",
          "IsDeleted": true,
          "Fees": 1.0,
          "ActivityTypesId": 1
        }
      ]
    }
  ],
  "ServiceLicenses": [
    {
      "Id": 1,
      "ServiceId": "sample string 2",
      "LicenseNameAr": "sample string 3",
      "LicenseNameEn": "sample string 4"
    },
    {
      "Id": 1,
      "ServiceId": "sample string 2",
      "LicenseNameAr": "sample string 3",
      "LicenseNameEn": "sample string 4"
    }
  ],
  "UserServices": [
    {
      "ServiceId": "sample string 1",
      "CivilID": "sample string 2",
      "CreatedOn": "2025-04-28T03:00:44.6966248+03:00"
    },
    {
      "ServiceId": "sample string 1",
      "CivilID": "sample string 2",
      "CreatedOn": "2025-04-28T03:00:44.6966248+03:00"
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.