PUT api/superadmin/customers/requests/{id}

change status in request

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CustomerRequests
NameDescriptionTypeAdditional information
addDate

date

None.

customerProjectId

integer

None.

custromerProject

CustomerProjects

None.

id

integer

None.

randomReferences

boolean

None.

referencesCount

integer

None.

status

integer

None.

summ

decimal number

None.

text

string

None.

referencesFromCustomer

Collection of ReferencesRequest

None.

email

string

None.

userId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "addDate": "2024-05-20T06:09:49.36911+00:00",
  "customerProjectId": 2,
  "custromerProject": {
    "$id": "2",
    "id": 1,
    "name": "sample string 2",
    "referencesNeed": 3,
    "addDate": "2024-05-20T06:09:49.36911+00:00",
    "status": 5,
    "realProjectId": 6,
    "country": "sample string 7",
    "city": "sample string 8",
    "theme": "sample string 9",
    "userId": "sample string 10",
    "realProject": {
      "$id": "3",
      "projectId": 1,
      "name": "sample string 2",
      "referenceOnSite": "sample string 3",
      "numOfReferenceOnKey": 4,
      "comment": "sample string 5",
      "budgetOfProject": 6.0,
      "themeOfSite": "sample string 7",
      "dateOfFinish": "2024-05-20T06:09:49.36911+00:00",
      "addDate": "2024-05-20T06:09:49.36911+00:00",
      "movedToArchive": "2024-05-20T06:09:49.36911+00:00",
      "tic": 1,
      "moz": 1,
      "alexa": 1,
      "linkPad": 1,
      "linksWithAnchor": true,
      "linksWithAnchorCount": 1,
      "linksWithoutAnchor": true,
      "linksWithoutAnchorCount": 1,
      "addManual": true,
      "leveling": true,
      "levelingCount": 1,
      "levelingCountPerDay": 1,
      "priceForEmptyComment": 15.0,
      "priceForCommentWithAnchor": 16.0,
      "priceForCommentWithoutAnchor": 17.0,
      "priceForFastTask": 18.0,
      "perDomain": 19,
      "isTic": true,
      "isMoz": true,
      "isAlexa": true,
      "isLinkPad": true,
      "isArchived": true,
      "isGoogle": true,
      "isYandex": true,
      "locked": true,
      "userId": "sample string 28",
      "refencesCountDayLimit": 29,
      "owner": {
        "$id": "4",
        "firstName": "sample string 1",
        "lastName": "sample string 2",
        "joinDate": "2024-05-20T06:09:49.380682+00:00",
        "privat": "sample string 4",
        "wm": "sample string 5",
        "balance": 6.0,
        "usePositionsForKeys": true,
        "expectedBalance": 8.0,
        "referalBalance": 9.0,
        "hideServicePopupAfterAddingKeys": true,
        "partnerPercentage": 11,
        "crmComment": {
          "$id": "5",
          "crmCommentId": "sample string 1",
          "comment": "sample string 2",
          "appUser": {
            "$ref": "4"
          }
        },
        "email": "sample string 12",
        "emailConfirmed": true,
        "passwordHash": "sample string 14",
        "securityStamp": "sample string 15",
        "phoneNumber": "sample string 16",
        "phoneNumberConfirmed": true,
        "twoFactorEnabled": true,
        "lockoutEndDateUtc": "2024-05-20T06:09:49.380682+00:00",
        "lockoutEnabled": true,
        "accessFailedCount": 20,
        "roles": [],
        "claims": [],
        "logins": [],
        "id": "sample string 21",
        "userName": "sample string 22"
      },
      "projectGoogleChecks": {
        "$id": "6",
        "$values": [
          {
            "$id": "7",
            "id": 1,
            "countryCheck": "sample string 2",
            "topCheck": 3,
            "projectId": 4,
            "project": {
              "$ref": "3"
            }
          },
          {
            "$ref": "7"
          }
        ]
      },
      "projectYandexChecks": {
        "$id": "8",
        "$values": [
          {
            "$id": "9",
            "id": 1,
            "contryCheck": "sample string 2",
            "topCheck": 3,
            "cityCheck": "sample string 4",
            "projectId": 5,
            "project": {
              "$ref": "3"
            }
          },
          {
            "$ref": "9"
          }
        ]
      },
      "projectTransactions": {
        "$id": "10",
        "$values": [
          {
            "$id": "11",
            "id": 1,
            "level": 2,
            "isDeleted": true,
            "deletedDate": "sample string 4",
            "date": "sample string 5",
            "projectId": 1,
            "projectName": "sample string 6",
            "adminId": "sample string 7",
            "adminName": "sample string 8",
            "crmTransactions": {
              "$id": "12",
              "$values": [
                {
                  "$id": "13",
                  "id": 1,
                  "date": "sample string 2",
                  "deletedDate": "sample string 3",
                  "isDelete": true,
                  "crmId": "sample string 5",
                  "crmName": "sample string 6",
                  "projectTransactionId": 1,
                  "level": 7,
                  "projectTransaction": {
                    "$ref": "11"
                  }
                },
                {
                  "$ref": "13"
                }
              ]
            }
          },
          {
            "$ref": "11"
          }
        ]
      },
      "projectKeys": {
        "$id": "14",
        "$values": [
          {
            "$id": "15",
            "keyId": 1,
            "name": "sample string 2",
            "referenceOnSite": "sample string 3",
            "countReferences": 4,
            "addDate": "2024-05-20T06:09:49.3971008+00:00",
            "lastCheck": "2024-05-20T06:09:49.3971008+00:00",
            "isCheckedPositionOnAdd": true,
            "positionOnAddDateGoogle": 8,
            "previousPositionGoogle": 9,
            "checkOnTodayGoogle": 10,
            "positionOnAddDateYandex": 11,
            "previousPositionYandex": 12,
            "checkOnTodayYandex": 13,
            "ownDeadline": true,
            "finishDate": "2024-05-20T06:09:49.3971008+00:00",
            "projectId": 15,
            "isActive": true,
            "isEnded": true,
            "crmId": "sample string 18",
            "project": {
              "$ref": "3"
            },
            "isArchive": true,
            "needUpdate": true,
            "references": {
              "$id": "16",
              "$values": [
                {
                  "$id": "17",
                  "referenceId": 1,
                  "referenceOnForum": "sample string 2",
                  "referenceOnPost": "sample string 3",
                  "numOfComment": 4,
                  "noLink": true,
                  "anchor": "sample string 6",
                  "comment": "sample string 7",
                  "description": "sample string 8",
                  "eMail": "sample string 9",
                  "keyId": 10,
                  "date": "2024-05-20T06:09:49.3971008+00:00",
                  "crmId": "sample string 12",
                  "checkDay": 13,
                  "status": true,
                  "countToPay": 15,
                  "countToDelete": 16,
                  "isPayed": true,
                  "lastCheck": "2024-05-20T06:09:49.3971008+00:00",
                  "indexYandex": true,
                  "indexGoogle": true,
                  "lasCkeckIndex": "2024-05-20T06:09:49.3971008+00:00",
                  "toAdminId": "sample string 22",
                  "price": 23.0,
                  "crmPrice": 24.0,
                  "rel": "sample string 25",
                  "nickName": "sample string 26",
                  "reported": true,
                  "key": {
                    "$ref": "15"
                  }
                },
                {
                  "$ref": "17"
                }
              ]
            },
            "fastTasks": {
              "$id": "18",
              "$values": [
                {
                  "$id": "19",
                  "fastTaskId": 1,
                  "keyId": 1,
                  "referenceOnForum": "sample string 2",
                  "taskReference": "sample string 3",
                  "referenceOnPost": "sample string 4",
                  "commentsCount": 1,
                  "taskStatus": 5,
                  "withAnchor": true,
                  "anchorText": "sample string 7",
                  "emailId": 8,
                  "comment": "sample string 9",
                  "crmId": "sample string 10",
                  "price": 11.0,
                  "crmPrice": 12.0,
                  "projectId": 13,
                  "isPayed": true,
                  "addDate": "2024-05-20T06:09:49.3971008+00:00",
                  "endDate": "2024-05-20T06:09:49.3971008+00:00",
                  "fastTaskTransaction": {
                    "$id": "20",
                    "id": 1,
                    "referenceOnPost": "sample string 2",
                    "keyId": 1,
                    "keyName": "sample string 3",
                    "fastTasksId": 1,
                    "date": "sample string 4",
                    "price": 5.0,
                    "crmPrice": 6.0,
                    "addDate": "2024-05-20T06:09:49.417105+00:00",
                    "projectId": 8,
                    "project": "sample string 9",
                    "crmId": "sample string 10",
                    "adminId": "sample string 11",
                    "adminUserName": "sample string 12",
                    "isPayed": true
                  },
                  "project": {
                    "$ref": "3"
                  },
                  "key": {
                    "$ref": "15"
                  }
                },
                {
                  "$ref": "19"
                }
              ]
            }
          },
          {
            "$ref": "15"
          }
        ]
      },
      "fastTasks": {
        "$id": "21",
        "$values": [
          {
            "$ref": "19"
          },
          {
            "$ref": "19"
          }
        ]
      },
      "crmProjectRelation": {
        "$id": "22",
        "$values": [
          {
            "$id": "23",
            "relationId": 1,
            "crmId": "sample string 2",
            "projectId": 3,
            "crmPriceForEmptyComment": 4.0,
            "crmPriceForCommentWithAnchor": 5.0,
            "crmPriceForCommentWithoutAnchor": 6.0,
            "crmPriceForFastTask": 7.0,
            "adminPriceForEmptyComment": 8.0,
            "adminPriceForCommentWithAnchor": 9.0,
            "adminPriceForCommentWithoutAnchor": 10.0,
            "adminPriceForFastTask": 11.0,
            "isActivated": true,
            "project": {
              "$ref": "3"
            }
          },
          {
            "$ref": "23"
          }
        ]
      }
    },
    "custromerRequests": {
      "$id": "24",
      "$values": [
        {
          "$id": "25",
          "id": 1,
          "text": "sample string 2",
          "referencesCount": 3,
          "customerProjectId": 4,
          "randomReferences": true,
          "summ": 6.0,
          "status": 7,
          "anchorPercents": 8,
          "addDate": "2024-05-20T06:09:49.427558+00:00",
          "custromerProject": {
            "$ref": "2"
          },
          "customReferences": {
            "$id": "26",
            "$values": [
              {
                "$id": "27",
                "id": 1,
                "reference": "sample string 2",
                "onReferenceCount": 3,
                "anchor": "sample string 4",
                "requestId": 5,
                "currentRequest": {
                  "$ref": "25"
                }
              },
              {
                "$ref": "27"
              }
            ]
          }
        },
        {
          "$ref": "25"
        }
      ]
    }
  },
  "id": 3,
  "randomReferences": true,
  "referencesCount": 5,
  "status": 6,
  "summ": 7.0,
  "text": "sample string 8",
  "referencesFromCustomer": {
    "$id": "28",
    "$values": [
      {
        "$id": "29",
        "reference": "sample string 1",
        "count": 2,
        "anchor": "sample string 3"
      },
      {
        "$ref": "29"
      }
    ]
  },
  "email": "sample string 9",
  "userId": "sample string 10"
}

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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.