POST api/superadmin/projects/{projectId}/keys
Post for add a new key to project (add only name)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId | integer |
Required |
Body Parameters
Collection of KeyAdminModelName | Description | Type | Additional information |
---|---|---|---|
KeyId | integer |
None. |
|
name | string |
None. |
|
referenceOnSite | string |
None. |
|
countReferencesDone | integer |
None. |
|
countReferences | integer |
None. |
|
addDate | date |
None. |
|
lastCheck | date |
None. |
|
positionOnAddDateGoogle | integer |
None. |
|
previousPositionGoogle | integer |
None. |
|
checkOnTodayGoogle | integer |
None. |
|
positionOnAddDateYandex | integer |
None. |
|
previousPositionYandex | integer |
None. |
|
checkOnTodayYandex | integer |
None. |
|
isActive | boolean |
None. |
|
crm | string |
None. |
|
crmId | string |
None. |
|
ownDeadLine | boolean |
None. |
|
dateOfFinish | date |
None. |
|
countReferencesChecking | integer |
None. |
|
needUpdate | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "$id": "2", "keyId": 1, "name": "sample string 2", "referenceOnSite": "sample string 3", "countReferencesDone": 4, "countReferences": 5, "addDate": "2025-04-04T00:14:54.1398293+00:00", "lastCheck": "2025-04-04T00:14:54.1398293+00:00", "positionOnAddDateGoogle": 8, "previousPositionGoogle": 9, "checkOnTodayGoogle": 10, "positionOnAddDateYandex": 11, "previousPositionYandex": 12, "checkOnTodayYandex": 13, "isActive": true, "crm": "sample string 15", "crmId": "sample string 16", "ownDeadLine": true, "dateOfFinish": "2025-04-04T00:14:54.1398293+00:00", "countReferencesChecking": 18, "needUpdate": true }, { "$ref": "2" } ]
application/xml, text/xml
Sample:
<ArrayOfKeyAdminModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CraudWezom_v1.Models.Keys"> <KeyAdminModel> <KeyId>1</KeyId> <addDate>2025-04-04T00:14:54.1398293+00:00</addDate> <checkOnTodayGoogle>10</checkOnTodayGoogle> <checkOnTodayYandex>13</checkOnTodayYandex> <countReferences>5</countReferences> <countReferencesChecking>18</countReferencesChecking> <countReferencesDone>4</countReferencesDone> <crm>sample string 15</crm> <crmId>sample string 16</crmId> <dateOfFinish>2025-04-04T00:14:54.1398293+00:00</dateOfFinish> <isActive>true</isActive> <lastCheck>2025-04-04T00:14:54.1398293+00:00</lastCheck> <name>sample string 2</name> <needUpdate>true</needUpdate> <ownDeadLine>true</ownDeadLine> <positionOnAddDateGoogle>8</positionOnAddDateGoogle> <positionOnAddDateYandex>11</positionOnAddDateYandex> <previousPositionGoogle>9</previousPositionGoogle> <previousPositionYandex>12</previousPositionYandex> <referenceOnSite>sample string 3</referenceOnSite> </KeyAdminModel> <KeyAdminModel> <KeyId>1</KeyId> <addDate>2025-04-04T00:14:54.1398293+00:00</addDate> <checkOnTodayGoogle>10</checkOnTodayGoogle> <checkOnTodayYandex>13</checkOnTodayYandex> <countReferences>5</countReferences> <countReferencesChecking>18</countReferencesChecking> <countReferencesDone>4</countReferencesDone> <crm>sample string 15</crm> <crmId>sample string 16</crmId> <dateOfFinish>2025-04-04T00:14:54.1398293+00:00</dateOfFinish> <isActive>true</isActive> <lastCheck>2025-04-04T00:14:54.1398293+00:00</lastCheck> <name>sample string 2</name> <needUpdate>true</needUpdate> <ownDeadLine>true</ownDeadLine> <positionOnAddDateGoogle>8</positionOnAddDateGoogle> <positionOnAddDateYandex>11</positionOnAddDateYandex> <previousPositionGoogle>9</previousPositionGoogle> <previousPositionYandex>12</previousPositionYandex> <referenceOnSite>sample string 3</referenceOnSite> </KeyAdminModel> </ArrayOfKeyAdminModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.