Create a collection code

Create a collection code for an existing key. You need to pass a keyId.

URL:

https://api.keynest.com/api/Key/CreateKeyCollectionCode

Sample Request

                                {
                                  "PropertyKeyId": 1,
                                  "StoreId": 2,
                                  "ExpectedCollectionUserName": "sample string 3",
                                  "ExpectedDate": "2018-03-27T15:37:39.9989584+05:30",
                                  "ExpectedTime": "sample string 4",
                                  "IsPermanentCode":false
                                }
                                

Sample Response [ JSON ]

                                {
                                  "PropertyName": "sample string 1",
                                  "KeyId": 2,
                                  "CollectionCode": "sample string 3"
                                }