PUT api/ServiceLicens/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ServiceLicens
NameDescriptionTypeAdditional information
Id

integer

None.

ServiceId

string

None.

LicenseNameAr

string

None.

LicenseNameEn

string

None.

Eservice

Eservice

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ServiceId": "sample string 2",
  "LicenseNameAr": "sample string 3",
  "LicenseNameEn": "sample string 4",
  "Eservice": {
    "Id": "sample string 1",
    "EserviceName": "sample string 2",
    "EserviceNameAr": "sample string 3",
    "Url": "sample string 4",
    "CreatedOn": "2025-04-28T03:22:28.4212439+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:22:28.4212439+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:22:28.4212439+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:22:28.4212439+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:22:28.4212439+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:22:28.4212439+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:22:28.4212439+03:00",
            "IsDeleted": true,
            "Fees": 1.0,
            "ActivityTypesId": 1
          }
        ]
      }
    ],
    "ServiceLicenses": [],
    "UserServices": [
      {
        "ServiceId": "sample string 1",
        "CivilID": "sample string 2",
        "CreatedOn": "2025-04-28T03:22:28.4212439+03:00"
      },
      {
        "ServiceId": "sample string 1",
        "CivilID": "sample string 2",
        "CreatedOn": "2025-04-28T03:22:28.4212439+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

None.