Ziwako Docs
ZiwakoRéférence APISearchs

Accepte Opportunity

PUT
/searchs/{id}/accepte

Authorization

X-API-Key<token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/searchs/string/accepte" \  -H "Content-Type: application/json" \  -d '{    "proProfil": "string"  }'
{  "status": 0,  "message": "string",  "data": {    "id": "string",    "searchInfo": {      "profilInfo": {        "serviceType": "string",        "serviceName": "string",        "serviceTypeId": "string",        "serviceDomain": "string",        "experience": 0,        "position": {          "name": "string",          "location": {            "type": "Point",            "coordinates": [              0            ]          }        },        "country": "string",        "city": "string"      },      "payload": {},      "attributes": {},      "priceFormula": {        "label": "string",        "pricing": {          "amount": 0,          "currency": "string",          "type": "rental",          "frequency": "daily",          "promotion": 0,          "fee": 0        },        "strategy": "fixed",        "dynamicConfig": {          "formule": "string",          "externalSources": [            {              "sourceId": "string",              "paramMapping": {}            }          ],          "dataSource": {}        }      },      "serviceFeed": {        "amount": 0,        "currency": "string",        "type": "rental",        "frequency": "daily",        "promotion": 0,        "fee": 0      },      "pictures": [        {          "Key": "string",          "Bucket": "string",          "Location": "string",          "public": "string"        }      ],      "message": "string",      "contactNbr": 0,      "shareMe": true    },    "owner": "string",    "status": "notfound",    "messageChannels": [      {        "channelId": "string",        "profilId": "string",        "isManager": true,        "isSearcher": true      }    ],    "verifiesToken": [      {        "token": "string",        "proProfilId": "string",        "proProfilCoordinate": [          0        ],        "searchCoordinate": [          0        ],        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z"      }    ],    "profilVerified": [      "string"    ],    "profilToRating": [      "string"    ],    "profilApproved": [      "string"    ],    "profilPending": [      "string"    ],    "profilUnapproved": [      "string"    ],    "profilSelected": [      "string"    ],    "profilRecommended": [      "string"    ],    "shared": [      "string"    ],    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  },  "type": "string",  "code": "string"}