action motaword_get_client_profile_for_pam { label: "Get the Pam profile of a client for this client ID" description: "Get the Pam profile of a client for this client ID" provider: motaword method: GET path: "/pam/profiles/client/{clientId}" encoding: json input: { type: "object" properties: { clientId: { type: "integer" format: "int64" } } required: ["clientId"] additionalProperties: false } output: { type: "object" properties: { account_creation_date: { type: "string" format: "date-time" description: "the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z" } client_project_count: { type: "number" description: "total project count that this client sent" } corporate: { type: "string" description: "corporate name" } corporate_id: { type: "number" description: "corporate id" } corporate_user_count: { type: "number" description: "total user count in a corporation" } frequent_file_extension: { type: "string" description: "the file extension for the files that usually this client sent" } frequent_language_pairs: { type: "array" description: "frequent language pairs" items: { type: "string" } } full_name: { type: "string" description: "full name of the client" } growth: { type: "boolean" description: "The answer for the question \"Is there any growth for this corporate's spending\". The values can be true, false or null if the corporate is oour client for less than 6 months" } is_complex: { type: "boolean" description: "the answer for the question \"Is this client usually sent complex projects?\"" } last_12_months_spending: { type: "number" format: "float" description: "corporate's spending in twelve months" } last_project: { type: "number" description: "the quote number for the last project of this client" } last_project_time: { type: "string" format: "date-time" description: "the creation date of the last project that is sent by this client" } last_proofreaders: { type: "array" description: "list of prooofreaders for the target languages of last project" items: { type: "object" properties: { full_name: { type: "string" description: "full name of the proofreader" } id: { type: "number" format: "int64" description: "proofreader id" } language: { type: "string" description: "language code (i.e en-US)" } vendor_link: { type: "string" description: "link to the vendor that can be only used in motaword admin application" } } } } notes: { type: "array" description: "notes that is submited for this client and/or with her projects" items: { type: "string" } } nps: { type: "object" description: "net promoter score info for this client" properties: { average: { type: "object" description: "information for all nps survey that this client completed" properties: { completed_surveys_count: { type: "number" description: "total number of completed survey count by this client" } score: { type: "number" format: "float" description: "average score for all coompleted surveys" } } } last: { type: "object" description: "last survey info" properties: { completion_date: { type: "string" format: "date-time" description: "last surveys completion date" } score: { type: "number" description: "score that the client gave us" } } } } } user_rank_in_project_count: { type: "number" description: "rank of the user in all corporate users for project count. If the user is the most active user foor sending projects her rank is 1" } user_rank_in_spending: { type: "number" description: "rank of the user in all corporate users for total spending. If the user is the most active user for spending her rank is 1" } } } }