Changes

stoney core: Resellers Resource - REST API

62 bytes added, 11:05, 27 December 2013
/* Reseller creation request message body */
! Mandatory
! Description
! Allowed Valid content! PREG
! Default value
! Example
|<code>true</code> if the reseller represents a company, <code>false</code> if it's an individual person.
|<code>true</code> or <code>false</code>
|
|
|<pre>isCompany: true</pre>
|yes
|An object holding the billing address informations for the given reseller. Refere to the [[#billingAddress_object|billingAddress object table]] for more informations.
|
|
|
!Mandatory
!Description
!Allowed Valid content![http://www.pcre.org/ PCRE]
!Default value
!Example
|no
|The name of the organization.
|
|@TODO: Add regex
|
|The gender of the address holder
|Either <code>f</code> for female, <code>m</code> for male or <code>n</code> for neutral.
|
|
|<pre>"gender": "f"</pre>
|yes
|The given name (first name or forename) of the address holder.
|
|@TODO: Add regex
|
|yes
|The surname (last name or family name) of the address holder.
|
|@TODO: Add regex
|
|string
|yes
|
|
|@TODO: Add regex
|string
|yes
|
|
|@TODO: Add regex
|string
|yes
|
|
|@TODO: Add regex
|string
|yes
|
|
|@TODO: Add regex
|string
|yes
|
|
|@TODO: Add regex
|string
|yes
|
|
|@TODO: Add regex
|string
|yes
|
|
|@TODO: Add regex
|string
|yes
|
|
|@TODO: Add regex
|string
|yes
|
|
|@TODO: Add regex
SLB
385
edits