Sample

Syncronization Integration

1. Register Syncronization Integration

JSON


{

"openapi" : "1.0.0",

"info" : {

"title" : "Pro-EXECUTES",

"description" : "Register user on pro-filr",

"version" : "0.1"

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ],

"paths" : {

"/crons/prompt.php" : {

"post" : {

"description" : "Register a user on pro-filr",

"requestBody" : {

"content" : {

"application/json" : {

"schema" : {

"$ref" : "#/components/schemas/body"

},

"examples" : {

"0" : {

"value" : "{"execid":"2efDD4FSDFD","action":"RegisterSync","desc":"Receive Pro-EXECUTES unique execid and respond with status and save execid","hash":"e482797a954cee3397e88b6416d232d9"}"

}

}

}

}

},

"responses" : {

"default" : {

"description" : "JSON {

status: 1 or 0,

validate: number of validations,

pay: 1 or 0

}"

}

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

}

},

"components" : {

"schemas" : {

"body" : {

"type" : "object",

"properties" : {

"status" : {

"type" : "object"

},

"validate" : {

"type" : "string"

},

"pay" : {

"type" : "string"

}

}

}

}

}

}


2. Syncronize user on Pro-Filr

JSON


{

"openapi" : "1.0.0",

"info" : {

"title" : "Pro-EXECUTES",

"description" : "Syncronize user on pro-filr",

"version" : "0.1"

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ],

"paths" : {

"/crons/prompt.php" : {

"post" : {

"description" : "Confirm if a user exists on pro-filr",

"requestBody" : {

"content" : {

"application/json" : {

"schema" : {

"$ref" : "#/components/schemas/body"

},

"examples" : {

"0" : {

"value" : "{"execid":"2efDD4FSDFD","user" : "ola@pro.com",action":"Sync","desc":"Find user on profilr and respond with status then save execid","hash":"e482797a954cee3397e88b6416d232d9"}"

}

}

}

}

},

"responses" : {

"default" : {

"description" : "JSON {

status: 1 or 0,

validate: number of validations,

pay: 1 or 0

}"

}

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

}

},

"components" : {

"schemas" : {

"body" : {

"type" : "object",

"properties" : {

"status" : {

"type" : "object"

},

"validate" : {

"type" : "string"

},

"pay" : {

"type" : "string"

}

}

}

}

}

}


3. Search Services

JSON


{

"openapi" : "1.0.0",

"info" : {

"title" : "Pro-EXECUTES",

"description" : "Search Services on pro-filr",

"version" : "0.1"

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ],

"paths" : {

"/crons/prompt.php" : {

"post" : {

"description" : "Send Search Param to Pro-filr and get result",

"requestBody" : {

"content" : {

"application/json" : {

"schema" : {

"$ref" : "#/components/schemas/body"

},

"examples" : {

"0" : {

"value" : "{"execid":"John Smith","action":"searchservices","search":"Accountant","searchcity":"London","desc":"Receive Profilr services","hash":"e482797a954cee3397e88b6416d232d9"}"

}

}

}

}

},

"responses" : {

"default" : {

"description" : "JSON {

subject: [{

companyname: JSMITH CONSULT,

email: email@pro.com

}],

item: search,

hash: 23edwdefdf

}"

}

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

}

},

"components" : {

"schemas" : {

"body" : {

"type" : "object",

"properties" : {

"subject" : {

"type" : "object"

},

"item" : {

"type" : "string"

},

"hash" : {

"type" : "string"

}

}

}

}

}

}


4. Search Opportunities

JSON


{

"openapi" : "1.0.0",

"info" : {

"title" : "Pro-EXECUTES",

"description" : "Search for opportunities on pro-filr",

"version" : "0.1"

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ],

"paths" : {

"/crons/prompt.php" : {

"post" : {

"description" : "Send Search Param to Pro-filr and get result",

"requestBody" : {

"content" : {

"application/json" : {

"schema" : {

"$ref" : "#/components/schemas/body"

},

"examples" : {

"0" : {

"value" : "{"execid":"John Smith","action":"searchopportunity","search":"Accounting","searchcity":London"","desc":"Receive Profilr's opportunities","hash":"e482797a954cee3397e88b6416d232d9"}"

}

}

}

}

},

"responses" : {

"default" : {

"description" : "JSON{

"subject": {

project_key: "",

project_title: "",

briefs: "",

city: "",

proposal_submission_deadline: ""

},

"item" : Accounting,

"hash" : 234refdfw4rwefsdpikjd

}"

}

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

}

},

"components" : {

"schemas" : {

"body" : {

"type" : "object",

"properties" : {

"subject" : {

"type" : "object"

},

"item" : {

"type" : "string"

},

"hash" : {

"type" : "string"

}

}

}

}

}

}


5. Get Opportunity count

JSON


{

"openapi" : "1.0.0",

"info" : {

"title" : "Pro-EXECUTES",

"description" : "Get opportunity count on pro-filr",

"version" : "0.1"

}, "servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ],

"paths" : {

"/crons/prompt.php" : {

"post" : {

"description" : "Receive count of opportunity",

"requestBody" : {

"content" : {

"application/json" : {

"schema" : {

"$ref" : "#/components/schemas/body"

},

"examples" : {

"0" : {

"value" : "{"execid":"AS4FF4VSAF","action":"getOpportunity","user":"1","desc":"Get all opportunities on profilr","hash":"e482797a954cee3397e88b6416d232d9"}"

}

}

}

}

},

"responses" : {

"default" : {

"description" : "integer value"

}"

}

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

}

}

}


6. Get Service count

JSON


{

"openapi" : "1.0.0",

"info" : {

"title" : "Pro-EXECUTES",

"description" : "Get service count on pro-filr",

"version" : "0.1"

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ],

"paths" : {

"/crons/prompt.php" : {

"post" : {

"description" : "Receive count of services",

"requestBody" : {

"content" : {

"application/json" : {

"schema" : {

"$ref" : "#/components/schemas/body"

},

"examples" : {

"0" : {

"value" : "{"execid":"AS4FF4VSAF","action":"getservices","user":"1","desc":"Get all services on profilr","hash":"e482797a954cee3397e88b6416d232d9"}"

}

}

}

}

},

"responses" : {

"default" : {

"description" : "integer value"

}"

}

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

}

}

}


7. Get Opportunity based on users profile

JSON


{

"openapi" : "1.0.0",

"info" : {

"title" : "Pro-EXECUTES",

"description" : "Get count of all opportunities based on a user's profile on pro-filr",

"version" : "0.1"

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ],

"paths" : {

"/crons/prompt.php" : {

"post" : {

"description" : "Receive count of opportunity",

"requestBody" : {

"content" : {

"application/json" : {

"schema" : {

"$ref" : "#/components/schemas/body"

},

"examples" : {

"0" : {

"value" : "{"execid":"AS4FF4VSAF","action":"getThisOpportunity","industry":"IT","profession":"Accounting","desc":"Get this user\'s opportunities on profilr","hash":"e482797a954cee3397e88b6416d232d9"}"

}

}

}

}

},

"responses" : {

"default" : {

"description" : "integer value"

}"

}

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

}

}

}


8. Push user data to profilr

JSON


{

"openapi" : "1.0.0",

"info" : {

"title" : "Pro-EXECUTES",

"description" : "Pushing profile data to Profile",

"version" : "0.1"

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ],

"paths" : {

"/crons/prompt.php" : {

"post" : {

"description" : "Push Certification Data Set",

"requestBody" : {

"content" : {

"application/json" : {

"schema" : {

"$ref" : "#/components/schemas/body"

},

"examples" : {

"0" : {

"value" : "{

"execid":"AS4FF4VSAF",

"action":"pushcertification",

"experience":

0->[{

"execid": "",

"institution": "",

"certificate": "",

"field": "",

"award": "",

"grade": "",

"year": "",

"specialisation": "",

"publish": ""

}],

"desc":"Pushing Certification data to Pro-filr data",

"hash":"e482797a954cee3397e88b6416d232d9"}"

}

}

}

}

},

"responses" : {

"default" : {

"description" : "integer value success or fail"

}"

}

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

},

"servers" : [ {

"url" : "https://www.pro-filr.com/crons/prompt.php"

} ]

}

}

}


API Get Started