swagger.json 379 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "version": "1.0"
  9. },
  10. "basePath": "/api",
  11. "paths": {
  12. "/CPTrade/QueryCPTradeMyBidInfos": {
  13. "get": {
  14. "security": [
  15. {
  16. "ApiKeyAuth": []
  17. }
  18. ],
  19. "produces": [
  20. "application/json"
  21. ],
  22. "tags": [
  23. "产能预售"
  24. ],
  25. "summary": "查询产能预售我的出价信息",
  26. "parameters": [
  27. {
  28. "type": "integer",
  29. "description": "资金账户",
  30. "name": "accountid",
  31. "in": "query",
  32. "required": true
  33. },
  34. {
  35. "type": "integer",
  36. "description": "预售市场ID",
  37. "name": "marketid",
  38. "in": "query"
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售商品ID",
  43. "name": "goodsid",
  44. "in": "query"
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "OK",
  50. "schema": {
  51. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  52. }
  53. },
  54. "500": {
  55. "description": "Internal Server Error",
  56. "schema": {
  57. "$ref": "#/definitions/app.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/CPTrade/QueryCPTradeOrderDetail": {
  64. "get": {
  65. "security": [
  66. {
  67. "ApiKeyAuth": []
  68. }
  69. ],
  70. "produces": [
  71. "application/json"
  72. ],
  73. "tags": [
  74. "产能预售"
  75. ],
  76. "summary": "查询产能预售委托单信息",
  77. "parameters": [
  78. {
  79. "type": "integer",
  80. "description": "预售商品ID",
  81. "name": "goodsid",
  82. "in": "query"
  83. },
  84. {
  85. "type": "integer",
  86. "description": "预售市场ID",
  87. "name": "marketid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "string",
  92. "description": "预售商品ID列表 - 格式:1,2,3",
  93. "name": "goodsids",
  94. "in": "query"
  95. }
  96. ],
  97. "responses": {
  98. "200": {
  99. "description": "OK",
  100. "schema": {
  101. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  102. }
  103. },
  104. "500": {
  105. "description": "Internal Server Error",
  106. "schema": {
  107. "$ref": "#/definitions/app.Response"
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "/CPTrade/QueryMyCPTradeGoods": {
  114. "get": {
  115. "security": [
  116. {
  117. "ApiKeyAuth": []
  118. }
  119. ],
  120. "produces": [
  121. "application/json"
  122. ],
  123. "tags": [
  124. "产能预售"
  125. ],
  126. "summary": "查询我的预售信息",
  127. "parameters": [
  128. {
  129. "type": "integer",
  130. "description": "资金账户",
  131. "name": "accountid",
  132. "in": "query",
  133. "required": true
  134. }
  135. ],
  136. "responses": {
  137. "200": {
  138. "description": "OK",
  139. "schema": {
  140. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  141. }
  142. },
  143. "500": {
  144. "description": "Internal Server Error",
  145. "schema": {
  146. "$ref": "#/definitions/app.Response"
  147. }
  148. }
  149. }
  150. }
  151. },
  152. "/CPTrade/QueryPositionCancel": {
  153. "get": {
  154. "security": [
  155. {
  156. "ApiKeyAuth": []
  157. }
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "产能预售"
  164. ],
  165. "summary": "查询远期订单注销申请信息",
  166. "parameters": [
  167. {
  168. "type": "integer",
  169. "description": "账户ID",
  170. "name": "userid",
  171. "in": "query",
  172. "required": true
  173. },
  174. {
  175. "type": "integer",
  176. "description": "注销ID",
  177. "name": "cancelid",
  178. "in": "query"
  179. },
  180. {
  181. "type": "integer",
  182. "description": "资金账户ID",
  183. "name": "accountid",
  184. "in": "query"
  185. }
  186. ],
  187. "responses": {
  188. "200": {
  189. "description": "OK",
  190. "schema": {
  191. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  192. }
  193. },
  194. "500": {
  195. "description": "Internal Server Error",
  196. "schema": {
  197. "$ref": "#/definitions/app.Response"
  198. }
  199. }
  200. }
  201. }
  202. },
  203. "/CPTrade/QueryPreasleApply": {
  204. "get": {
  205. "security": [
  206. {
  207. "ApiKeyAuth": []
  208. }
  209. ],
  210. "produces": [
  211. "application/json"
  212. ],
  213. "tags": [
  214. "产能预售"
  215. ],
  216. "summary": "查询产能预售申请信息",
  217. "parameters": [
  218. {
  219. "type": "integer",
  220. "description": "账户ID",
  221. "name": "userid",
  222. "in": "query",
  223. "required": true
  224. },
  225. {
  226. "type": "integer",
  227. "description": "申请ID",
  228. "name": "applyid",
  229. "in": "query"
  230. },
  231. {
  232. "type": "integer",
  233. "description": "资金账户ID",
  234. "name": "accountid",
  235. "in": "query"
  236. }
  237. ],
  238. "responses": {
  239. "200": {
  240. "description": "OK",
  241. "schema": {
  242. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  243. }
  244. },
  245. "500": {
  246. "description": "Internal Server Error",
  247. "schema": {
  248. "$ref": "#/definitions/app.Response"
  249. }
  250. }
  251. }
  252. }
  253. },
  254. "/CPTrade/QueryPresaleGoodsEx": {
  255. "get": {
  256. "security": [
  257. {
  258. "ApiKeyAuth": []
  259. }
  260. ],
  261. "produces": [
  262. "application/json"
  263. ],
  264. "tags": [
  265. "产能预售"
  266. ],
  267. "summary": "查询产能预售商品扩展信息",
  268. "parameters": [
  269. {
  270. "type": "integer",
  271. "description": "预售商品ID",
  272. "name": "goodsid",
  273. "in": "query"
  274. },
  275. {
  276. "type": "integer",
  277. "description": "预售市场ID",
  278. "name": "marketid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  284. "name": "presalemode",
  285. "in": "query"
  286. },
  287. {
  288. "type": "string",
  289. "description": "预售商品ID列表 - 格式:1,2,3",
  290. "name": "goodsids",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品代码",
  296. "name": "goodscode",
  297. "in": "query"
  298. }
  299. ],
  300. "responses": {
  301. "200": {
  302. "description": "OK",
  303. "schema": {
  304. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  305. }
  306. },
  307. "500": {
  308. "description": "Internal Server Error",
  309. "schema": {
  310. "$ref": "#/definitions/app.Response"
  311. }
  312. }
  313. }
  314. }
  315. },
  316. "/CPTrade/QueryUserGoodsData": {
  317. "get": {
  318. "security": [
  319. {
  320. "ApiKeyAuth": []
  321. }
  322. ],
  323. "produces": [
  324. "application/json"
  325. ],
  326. "tags": [
  327. "产能预售"
  328. ],
  329. "summary": "查询远期订单信息",
  330. "parameters": [
  331. {
  332. "type": "integer",
  333. "description": "资金账户ID",
  334. "name": "accountid",
  335. "in": "query",
  336. "required": true
  337. }
  338. ],
  339. "responses": {
  340. "200": {
  341. "description": "OK",
  342. "schema": {
  343. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  344. }
  345. },
  346. "500": {
  347. "description": "Internal Server Error",
  348. "schema": {
  349. "$ref": "#/definitions/app.Response"
  350. }
  351. }
  352. }
  353. }
  354. },
  355. "/Common/GetAllEnums": {
  356. "get": {
  357. "produces": [
  358. "application/json"
  359. ],
  360. "tags": [
  361. "通用服务"
  362. ],
  363. "summary": "获取所有枚举信息",
  364. "responses": {
  365. "200": {
  366. "description": "OK",
  367. "schema": {
  368. "$ref": "#/definitions/models.Enumdicitem"
  369. }
  370. },
  371. "500": {
  372. "description": "Internal Server Error",
  373. "schema": {
  374. "$ref": "#/definitions/app.Response"
  375. }
  376. }
  377. }
  378. }
  379. },
  380. "/Common/GetServerTime": {
  381. "get": {
  382. "produces": [
  383. "application/json"
  384. ],
  385. "tags": [
  386. "通用服务"
  387. ],
  388. "summary": "获取服务器时间",
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/NoticeReaded": {
  406. "post": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "通知公告设置已读请求",
  419. "parameters": [
  420. {
  421. "type": "integer",
  422. "description": "登录账号",
  423. "name": "loginID",
  424. "in": "query",
  425. "required": true
  426. },
  427. {
  428. "type": "integer",
  429. "description": "通知公告ID",
  430. "name": "noticeID",
  431. "in": "query",
  432. "required": true
  433. }
  434. ],
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/QueryImageConfigs": {
  452. "get": {
  453. "produces": [
  454. "application/json"
  455. ],
  456. "tags": [
  457. "通用服务"
  458. ],
  459. "summary": "查询轮播图配置信息",
  460. "parameters": [
  461. {
  462. "type": "integer",
  463. "description": "类型 - 1:App首页轮播 2:我的",
  464. "name": "imageType",
  465. "in": "query"
  466. }
  467. ],
  468. "responses": {
  469. "200": {
  470. "description": "OK",
  471. "schema": {
  472. "$ref": "#/definitions/models.Szdz2imageconfig"
  473. }
  474. },
  475. "500": {
  476. "description": "Internal Server Error",
  477. "schema": {
  478. "$ref": "#/definitions/app.Response"
  479. }
  480. }
  481. }
  482. }
  483. },
  484. "/Common/QueryNotice": {
  485. "get": {
  486. "security": [
  487. {
  488. "ApiKeyAuth": []
  489. }
  490. ],
  491. "produces": [
  492. "application/json"
  493. ],
  494. "tags": [
  495. "通用服务"
  496. ],
  497. "summary": "通知公告系统消息查询",
  498. "parameters": [
  499. {
  500. "type": "integer",
  501. "description": "页码",
  502. "name": "page",
  503. "in": "query"
  504. },
  505. {
  506. "type": "integer",
  507. "description": "每页条数",
  508. "name": "pagesize",
  509. "in": "query"
  510. },
  511. {
  512. "type": "integer",
  513. "description": "登录账号",
  514. "name": "loginID",
  515. "in": "query",
  516. "required": true
  517. },
  518. {
  519. "type": "integer",
  520. "description": "消息类型 - 1:公告通知 2:系统消息",
  521. "name": "msgType",
  522. "in": "query"
  523. },
  524. {
  525. "type": "boolean",
  526. "description": "是否只获取未读信息",
  527. "name": "onlyUnRead",
  528. "in": "query"
  529. }
  530. ],
  531. "responses": {
  532. "200": {
  533. "description": "OK",
  534. "schema": {
  535. "$ref": "#/definitions/common.QueryNoticeRsp"
  536. }
  537. },
  538. "500": {
  539. "description": "Internal Server Error",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. }
  544. }
  545. }
  546. },
  547. "/Common/QueryProvincesAndCities": {
  548. "get": {
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "查询省市信息(不包括区)",
  556. "parameters": [
  557. {
  558. "type": "integer",
  559. "description": "省ID",
  560. "name": "provinceID",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryTableDefine": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询交易端列表头信息",
  589. "parameters": [
  590. {
  591. "type": "string",
  592. "description": "表key",
  593. "name": "TableKey",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryTableDefineRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryTraderMenu": {
  614. "get": {
  615. "produces": [
  616. "application/json"
  617. ],
  618. "tags": [
  619. "通用服务"
  620. ],
  621. "summary": "查询交易端菜单",
  622. "parameters": [
  623. {
  624. "type": "integer",
  625. "description": "登录账号",
  626. "name": "loginid",
  627. "in": "query",
  628. "required": true
  629. }
  630. ],
  631. "responses": {
  632. "200": {
  633. "description": "OK",
  634. "schema": {
  635. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  636. }
  637. },
  638. "500": {
  639. "description": "Internal Server Error",
  640. "schema": {
  641. "$ref": "#/definitions/app.Response"
  642. }
  643. }
  644. }
  645. }
  646. },
  647. "/Delivery/QueryDeliveryRelation": {
  648. "get": {
  649. "security": [
  650. {
  651. "ApiKeyAuth": []
  652. }
  653. ],
  654. "produces": [
  655. "application/json"
  656. ],
  657. "tags": [
  658. "交割服务"
  659. ],
  660. "summary": "查询商品交割关系表",
  661. "parameters": [
  662. {
  663. "type": "integer",
  664. "description": "商品ID",
  665. "name": "goodsid",
  666. "in": "query"
  667. },
  668. {
  669. "type": "integer",
  670. "description": "品种ID",
  671. "name": "deliverygoodsid",
  672. "in": "query"
  673. },
  674. {
  675. "type": "integer",
  676. "description": "市场ID",
  677. "name": "marketid",
  678. "in": "query"
  679. }
  680. ],
  681. "responses": {
  682. "200": {
  683. "description": "OK",
  684. "schema": {
  685. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  686. }
  687. },
  688. "500": {
  689. "description": "Internal Server Error",
  690. "schema": {
  691. "$ref": "#/definitions/app.Response"
  692. }
  693. }
  694. }
  695. }
  696. },
  697. "/Erms2/QueryArbitrageStrategy": {
  698. "get": {
  699. "security": [
  700. {
  701. "ApiKeyAuth": []
  702. }
  703. ],
  704. "produces": [
  705. "application/json"
  706. ],
  707. "tags": [
  708. "风险管理"
  709. ],
  710. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  711. "parameters": [
  712. {
  713. "type": "integer",
  714. "description": "账户ID",
  715. "name": "userid",
  716. "in": "query",
  717. "required": true
  718. },
  719. {
  720. "type": "string",
  721. "description": "商品组ID(品种ID)",
  722. "name": "goodsgroupid",
  723. "in": "query"
  724. }
  725. ],
  726. "responses": {
  727. "200": {
  728. "description": "OK",
  729. "schema": {
  730. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  731. }
  732. },
  733. "500": {
  734. "description": "Internal Server Error",
  735. "schema": {
  736. "$ref": "#/definitions/app.Response"
  737. }
  738. }
  739. }
  740. }
  741. },
  742. "/Erms2/QueryInnerTradeDetail": {
  743. "get": {
  744. "security": [
  745. {
  746. "ApiKeyAuth": []
  747. }
  748. ],
  749. "produces": [
  750. "application/json"
  751. ],
  752. "tags": [
  753. "风险管理"
  754. ],
  755. "summary": "查询内部成交单信息",
  756. "parameters": [
  757. {
  758. "type": "integer",
  759. "description": "资金账户",
  760. "name": "accountid",
  761. "in": "query",
  762. "required": true
  763. }
  764. ],
  765. "responses": {
  766. "200": {
  767. "description": "OK",
  768. "schema": {
  769. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  770. }
  771. },
  772. "500": {
  773. "description": "Internal Server Error",
  774. "schema": {
  775. "$ref": "#/definitions/app.Response"
  776. }
  777. }
  778. }
  779. }
  780. },
  781. "/Erms2/QuerySpotContract": {
  782. "get": {
  783. "security": [
  784. {
  785. "ApiKeyAuth": []
  786. }
  787. ],
  788. "produces": [
  789. "application/json"
  790. ],
  791. "tags": [
  792. "风险管理"
  793. ],
  794. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  795. "parameters": [
  796. {
  797. "type": "integer",
  798. "description": "策略申请ID",
  799. "name": "asapplyid",
  800. "in": "query",
  801. "required": true
  802. },
  803. {
  804. "type": "integer",
  805. "description": "现货合同ID",
  806. "name": "spotcontractid",
  807. "in": "query"
  808. }
  809. ],
  810. "responses": {
  811. "200": {
  812. "description": "OK",
  813. "schema": {
  814. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  815. }
  816. },
  817. "500": {
  818. "description": "Internal Server Error",
  819. "schema": {
  820. "$ref": "#/definitions/app.Response"
  821. }
  822. }
  823. }
  824. }
  825. },
  826. "/Erms3/AddErms2ASApply": {
  827. "post": {
  828. "security": [
  829. {
  830. "ApiKeyAuth": []
  831. }
  832. ],
  833. "produces": [
  834. "application/json"
  835. ],
  836. "tags": [
  837. "风险管理v3"
  838. ],
  839. "summary": "新增期现套利业务申请",
  840. "parameters": [
  841. {
  842. "description": "申请参数",
  843. "name": "jsonBody",
  844. "in": "body",
  845. "required": true,
  846. "schema": {
  847. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  848. }
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "$ref": "#/definitions/app.Response"
  856. }
  857. },
  858. "500": {
  859. "description": "Internal Server Error",
  860. "schema": {
  861. "$ref": "#/definitions/app.Response"
  862. }
  863. }
  864. }
  865. }
  866. },
  867. "/Erms3/AddErms2SpotTradeApply": {
  868. "post": {
  869. "security": [
  870. {
  871. "ApiKeyAuth": []
  872. }
  873. ],
  874. "produces": [
  875. "application/json"
  876. ],
  877. "tags": [
  878. "风险管理v3"
  879. ],
  880. "summary": "新增现货贸易业务申请",
  881. "parameters": [
  882. {
  883. "description": "申请参数",
  884. "name": "jsonBody",
  885. "in": "body",
  886. "required": true,
  887. "schema": {
  888. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  889. }
  890. }
  891. ],
  892. "responses": {
  893. "200": {
  894. "description": "OK",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. },
  899. "500": {
  900. "description": "Internal Server Error",
  901. "schema": {
  902. "$ref": "#/definitions/app.Response"
  903. }
  904. }
  905. }
  906. }
  907. },
  908. "/Erms3/AddSpotContractApply": {
  909. "post": {
  910. "security": [
  911. {
  912. "ApiKeyAuth": []
  913. }
  914. ],
  915. "produces": [
  916. "application/json"
  917. ],
  918. "tags": [
  919. "风险管理v3"
  920. ],
  921. "summary": "新增现货合同申请",
  922. "parameters": [
  923. {
  924. "description": "申请参数",
  925. "name": "jsonBody",
  926. "in": "body",
  927. "required": true,
  928. "schema": {
  929. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  930. }
  931. }
  932. ],
  933. "responses": {
  934. "200": {
  935. "description": "OK",
  936. "schema": {
  937. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  938. }
  939. },
  940. "500": {
  941. "description": "Internal Server Error",
  942. "schema": {
  943. "$ref": "#/definitions/app.Response"
  944. }
  945. }
  946. }
  947. }
  948. },
  949. "/Erms3/AddUserInfoApply": {
  950. "post": {
  951. "security": [
  952. {
  953. "ApiKeyAuth": []
  954. }
  955. ],
  956. "produces": [
  957. "application/json"
  958. ],
  959. "tags": [
  960. "风险管理v3"
  961. ],
  962. "summary": "新增客户申请",
  963. "parameters": [
  964. {
  965. "description": "申请参数",
  966. "name": "jsonBody",
  967. "in": "body",
  968. "required": true,
  969. "schema": {
  970. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  971. }
  972. }
  973. ],
  974. "responses": {
  975. "200": {
  976. "description": "OK",
  977. "schema": {
  978. "$ref": "#/definitions/app.Response"
  979. }
  980. },
  981. "500": {
  982. "description": "Internal Server Error",
  983. "schema": {
  984. "$ref": "#/definitions/app.Response"
  985. }
  986. }
  987. }
  988. }
  989. },
  990. "/Erms3/QueryBusinessInfo": {
  991. "get": {
  992. "security": [
  993. {
  994. "ApiKeyAuth": []
  995. }
  996. ],
  997. "produces": [
  998. "application/json"
  999. ],
  1000. "tags": [
  1001. "风险管理v3"
  1002. ],
  1003. "summary": "查询业务表单数据",
  1004. "parameters": [
  1005. {
  1006. "type": "string",
  1007. "description": "资金账号ID列表,用逗号分隔",
  1008. "name": "accountids",
  1009. "in": "query",
  1010. "required": true
  1011. },
  1012. {
  1013. "type": "integer",
  1014. "description": "状态,0为未结束 1为已结束",
  1015. "name": "status",
  1016. "in": "query",
  1017. "required": true
  1018. }
  1019. ],
  1020. "responses": {
  1021. "200": {
  1022. "description": "OK",
  1023. "schema": {
  1024. "type": "array",
  1025. "items": {
  1026. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1027. }
  1028. }
  1029. },
  1030. "500": {
  1031. "description": "Internal Server Error",
  1032. "schema": {
  1033. "$ref": "#/definitions/app.Response"
  1034. }
  1035. }
  1036. }
  1037. }
  1038. },
  1039. "/Erms3/QueryPendingAuditContract": {
  1040. "get": {
  1041. "security": [
  1042. {
  1043. "ApiKeyAuth": []
  1044. }
  1045. ],
  1046. "produces": [
  1047. "application/json"
  1048. ],
  1049. "tags": [
  1050. "风险管理v3"
  1051. ],
  1052. "summary": "查询待审核合同",
  1053. "parameters": [
  1054. {
  1055. "type": "string",
  1056. "description": "资金账号ID列表,逗号隔开",
  1057. "name": "accountids",
  1058. "in": "query",
  1059. "required": true
  1060. },
  1061. {
  1062. "type": "integer",
  1063. "description": "合同类型 1-采购 -1-销售",
  1064. "name": "contracttype",
  1065. "in": "query",
  1066. "required": true
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "合同模式 1-普通 2-回购",
  1071. "name": "contractmode",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Erms3/QueryPendingBusiness": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "风险管理v3"
  1107. ],
  1108. "summary": "查询待审核基差贸易业务",
  1109. "parameters": [
  1110. {
  1111. "type": "string",
  1112. "description": "资金账号ID列表,逗号隔开",
  1113. "name": "accountids",
  1114. "in": "query",
  1115. "required": true
  1116. }
  1117. ],
  1118. "responses": {
  1119. "200": {
  1120. "description": "OK",
  1121. "schema": {
  1122. "type": "array",
  1123. "items": {
  1124. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1125. }
  1126. }
  1127. },
  1128. "500": {
  1129. "description": "Internal Server Error",
  1130. "schema": {
  1131. "$ref": "#/definitions/app.Response"
  1132. }
  1133. }
  1134. }
  1135. }
  1136. },
  1137. "/Erms3/QuerySpotContractAppleForm": {
  1138. "get": {
  1139. "security": [
  1140. {
  1141. "ApiKeyAuth": []
  1142. }
  1143. ],
  1144. "produces": [
  1145. "application/json"
  1146. ],
  1147. "tags": [
  1148. "风险管理v3"
  1149. ],
  1150. "summary": "查询合同申请表单数据",
  1151. "parameters": [
  1152. {
  1153. "type": "integer",
  1154. "description": "登录账号",
  1155. "name": "loginID",
  1156. "in": "query",
  1157. "required": true
  1158. }
  1159. ],
  1160. "responses": {
  1161. "200": {
  1162. "description": "OK",
  1163. "schema": {
  1164. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1165. }
  1166. },
  1167. "500": {
  1168. "description": "Internal Server Error",
  1169. "schema": {
  1170. "$ref": "#/definitions/app.Response"
  1171. }
  1172. }
  1173. }
  1174. }
  1175. },
  1176. "/Erms3/QuerySpotContractDetail": {
  1177. "get": {
  1178. "security": [
  1179. {
  1180. "ApiKeyAuth": []
  1181. }
  1182. ],
  1183. "produces": [
  1184. "application/json"
  1185. ],
  1186. "tags": [
  1187. "风险管理v3"
  1188. ],
  1189. "summary": "查询合同详细信息",
  1190. "parameters": [
  1191. {
  1192. "type": "string",
  1193. "description": "资金账号ID列表,用逗号分隔",
  1194. "name": "accountids",
  1195. "in": "query",
  1196. "required": true
  1197. },
  1198. {
  1199. "type": "integer",
  1200. "description": "合同类型,1为采购合同 -1为销售合同",
  1201. "name": "contracttype",
  1202. "in": "query",
  1203. "required": true
  1204. },
  1205. {
  1206. "type": "integer",
  1207. "description": "合同模式,1为普通合同 2为回购销售合同",
  1208. "name": "contractmode",
  1209. "in": "query",
  1210. "required": true
  1211. },
  1212. {
  1213. "type": "integer",
  1214. "description": "状态,0为履约中 1为已完成",
  1215. "name": "status",
  1216. "in": "query",
  1217. "required": true
  1218. }
  1219. ],
  1220. "responses": {
  1221. "200": {
  1222. "description": "OK",
  1223. "schema": {
  1224. "type": "array",
  1225. "items": {
  1226. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1227. }
  1228. }
  1229. },
  1230. "500": {
  1231. "description": "Internal Server Error",
  1232. "schema": {
  1233. "$ref": "#/definitions/app.Response"
  1234. }
  1235. }
  1236. }
  1237. }
  1238. },
  1239. "/Erms3/QueryUserInfoApplies": {
  1240. "get": {
  1241. "security": [
  1242. {
  1243. "ApiKeyAuth": []
  1244. }
  1245. ],
  1246. "produces": [
  1247. "application/json"
  1248. ],
  1249. "tags": [
  1250. "风险管理v3"
  1251. ],
  1252. "summary": "客户申请信息查询",
  1253. "parameters": [
  1254. {
  1255. "type": "integer",
  1256. "description": "页码",
  1257. "name": "page",
  1258. "in": "query"
  1259. },
  1260. {
  1261. "type": "integer",
  1262. "description": "每页条数",
  1263. "name": "pagesize",
  1264. "in": "query"
  1265. },
  1266. {
  1267. "type": "string",
  1268. "description": "客户名称,支持模糊查询",
  1269. "name": "userName",
  1270. "in": "query"
  1271. }
  1272. ],
  1273. "responses": {
  1274. "200": {
  1275. "description": "OK",
  1276. "schema": {
  1277. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1278. }
  1279. },
  1280. "500": {
  1281. "description": "Internal Server Error",
  1282. "schema": {
  1283. "$ref": "#/definitions/app.Response"
  1284. }
  1285. }
  1286. }
  1287. }
  1288. },
  1289. "/Erms3/QueryUserInfos": {
  1290. "get": {
  1291. "security": [
  1292. {
  1293. "ApiKeyAuth": []
  1294. }
  1295. ],
  1296. "produces": [
  1297. "application/json"
  1298. ],
  1299. "tags": [
  1300. "风险管理v3"
  1301. ],
  1302. "summary": "客户信息查询",
  1303. "parameters": [
  1304. {
  1305. "type": "integer",
  1306. "description": "页码",
  1307. "name": "page",
  1308. "in": "query"
  1309. },
  1310. {
  1311. "type": "integer",
  1312. "description": "每页条数",
  1313. "name": "pagesize",
  1314. "in": "query"
  1315. },
  1316. {
  1317. "type": "string",
  1318. "description": "客户名称,支持模糊查询",
  1319. "name": "userName",
  1320. "in": "query"
  1321. }
  1322. ],
  1323. "responses": {
  1324. "200": {
  1325. "description": "OK",
  1326. "schema": {
  1327. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/HSBY/GetHsbyMyCount": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "description": "说明: 不包括已完成的数量。",
  1347. "produces": [
  1348. "application/json"
  1349. ],
  1350. "tags": [
  1351. "定制【海商报业】"
  1352. ],
  1353. "summary": "获取我的订单与包裹数量",
  1354. "parameters": [
  1355. {
  1356. "type": "string",
  1357. "description": "资金账户列表,格式:1,2,3",
  1358. "name": "accountIDs",
  1359. "in": "query",
  1360. "required": true
  1361. }
  1362. ],
  1363. "responses": {
  1364. "200": {
  1365. "description": "OK",
  1366. "schema": {
  1367. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1368. }
  1369. },
  1370. "500": {
  1371. "description": "Internal Server Error",
  1372. "schema": {
  1373. "$ref": "#/definitions/app.Response"
  1374. }
  1375. }
  1376. }
  1377. }
  1378. },
  1379. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1380. "get": {
  1381. "security": [
  1382. {
  1383. "ApiKeyAuth": []
  1384. }
  1385. ],
  1386. "produces": [
  1387. "application/json"
  1388. ],
  1389. "tags": [
  1390. "定制【海商报业】"
  1391. ],
  1392. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1393. "parameters": [
  1394. {
  1395. "type": "integer",
  1396. "description": "页码",
  1397. "name": "page",
  1398. "in": "query"
  1399. },
  1400. {
  1401. "type": "integer",
  1402. "description": "每页条数",
  1403. "name": "pagesize",
  1404. "in": "query"
  1405. },
  1406. {
  1407. "type": "string",
  1408. "description": "资金账户列表,格式:1,2,3",
  1409. "name": "accountIDs",
  1410. "in": "query",
  1411. "required": true
  1412. }
  1413. ],
  1414. "responses": {
  1415. "200": {
  1416. "description": "OK",
  1417. "schema": {
  1418. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1419. }
  1420. },
  1421. "500": {
  1422. "description": "Internal Server Error",
  1423. "schema": {
  1424. "$ref": "#/definitions/app.Response"
  1425. }
  1426. }
  1427. }
  1428. }
  1429. },
  1430. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1431. "get": {
  1432. "security": [
  1433. {
  1434. "ApiKeyAuth": []
  1435. }
  1436. ],
  1437. "description": "说明:查询结果已按委托价格和委托时间排序",
  1438. "produces": [
  1439. "application/json"
  1440. ],
  1441. "tags": [
  1442. "定制【海商报业】"
  1443. ],
  1444. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1445. "parameters": [
  1446. {
  1447. "type": "integer",
  1448. "description": "商品ID",
  1449. "name": "goodsID",
  1450. "in": "query",
  1451. "required": true
  1452. },
  1453. {
  1454. "type": "string",
  1455. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1456. "name": "accountIDs",
  1457. "in": "query"
  1458. },
  1459. {
  1460. "type": "integer",
  1461. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1462. "name": "buyOrSell",
  1463. "in": "query"
  1464. },
  1465. {
  1466. "type": "number",
  1467. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1468. "name": "price",
  1469. "in": "query"
  1470. },
  1471. {
  1472. "type": "integer",
  1473. "description": "档位,不传则默认为3档",
  1474. "name": "speed",
  1475. "in": "query"
  1476. }
  1477. ],
  1478. "responses": {
  1479. "200": {
  1480. "description": "OK",
  1481. "schema": {
  1482. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1483. }
  1484. },
  1485. "500": {
  1486. "description": "Internal Server Error",
  1487. "schema": {
  1488. "$ref": "#/definitions/app.Response"
  1489. }
  1490. }
  1491. }
  1492. }
  1493. },
  1494. "/HSBY/QueryHsbyListingGoodsDetail": {
  1495. "get": {
  1496. "security": [
  1497. {
  1498. "ApiKeyAuth": []
  1499. }
  1500. ],
  1501. "produces": [
  1502. "application/json"
  1503. ],
  1504. "tags": [
  1505. "定制【海商报业】"
  1506. ],
  1507. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1508. "parameters": [
  1509. {
  1510. "type": "integer",
  1511. "description": "商品ID",
  1512. "name": "goodsID",
  1513. "in": "query",
  1514. "required": true
  1515. },
  1516. {
  1517. "type": "integer",
  1518. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1519. "name": "AccountID",
  1520. "in": "query"
  1521. }
  1522. ],
  1523. "responses": {
  1524. "200": {
  1525. "description": "OK",
  1526. "schema": {
  1527. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1528. }
  1529. },
  1530. "500": {
  1531. "description": "Internal Server Error",
  1532. "schema": {
  1533. "$ref": "#/definitions/app.Response"
  1534. }
  1535. }
  1536. }
  1537. }
  1538. },
  1539. "/HSBY/QueryHsbyMarketGoodses": {
  1540. "get": {
  1541. "security": [
  1542. {
  1543. "ApiKeyAuth": []
  1544. }
  1545. ],
  1546. "produces": [
  1547. "application/json"
  1548. ],
  1549. "tags": [
  1550. "定制【海商报业】"
  1551. ],
  1552. "summary": "查询特卖商品列表(三级商城)",
  1553. "parameters": [
  1554. {
  1555. "type": "integer",
  1556. "description": "页码",
  1557. "name": "page",
  1558. "in": "query"
  1559. },
  1560. {
  1561. "type": "integer",
  1562. "description": "每页条数",
  1563. "name": "pagesize",
  1564. "in": "query"
  1565. },
  1566. {
  1567. "type": "string",
  1568. "description": "市场ID列表,格式:1,2,3",
  1569. "name": "marketIDs",
  1570. "in": "query",
  1571. "required": true
  1572. },
  1573. {
  1574. "type": "integer",
  1575. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1576. "name": "accountID",
  1577. "in": "query"
  1578. },
  1579. {
  1580. "type": "integer",
  1581. "description": "类别ID",
  1582. "name": "categoryID",
  1583. "in": "query"
  1584. }
  1585. ],
  1586. "responses": {
  1587. "200": {
  1588. "description": "OK",
  1589. "schema": {
  1590. "$ref": "#/definitions/models.HsbyMarketGoods"
  1591. }
  1592. },
  1593. "500": {
  1594. "description": "Internal Server Error",
  1595. "schema": {
  1596. "$ref": "#/definitions/app.Response"
  1597. }
  1598. }
  1599. }
  1600. }
  1601. },
  1602. "/HSBY/QueryHsbyMarkets": {
  1603. "get": {
  1604. "security": [
  1605. {
  1606. "ApiKeyAuth": []
  1607. }
  1608. ],
  1609. "produces": [
  1610. "application/json"
  1611. ],
  1612. "tags": [
  1613. "定制【海商报业】"
  1614. ],
  1615. "summary": "查询海商报业相关市场信息",
  1616. "responses": {
  1617. "200": {
  1618. "description": "OK",
  1619. "schema": {
  1620. "$ref": "#/definitions/models.HsbyMarketInfo"
  1621. }
  1622. },
  1623. "500": {
  1624. "description": "Internal Server Error",
  1625. "schema": {
  1626. "$ref": "#/definitions/app.Response"
  1627. }
  1628. }
  1629. }
  1630. }
  1631. },
  1632. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1633. "get": {
  1634. "security": [
  1635. {
  1636. "ApiKeyAuth": []
  1637. }
  1638. ],
  1639. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1640. "produces": [
  1641. "application/json"
  1642. ],
  1643. "tags": [
  1644. "定制【海商报业】"
  1645. ],
  1646. "summary": "查询“我的订单”信息",
  1647. "parameters": [
  1648. {
  1649. "type": "string",
  1650. "description": "资金账户列表,格式:1,2,3",
  1651. "name": "accountIDs",
  1652. "in": "query",
  1653. "required": true
  1654. },
  1655. {
  1656. "type": "integer",
  1657. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1658. "name": "myBuyStatus",
  1659. "in": "query"
  1660. }
  1661. ],
  1662. "responses": {
  1663. "200": {
  1664. "description": "OK",
  1665. "schema": {
  1666. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1667. }
  1668. },
  1669. "500": {
  1670. "description": "Internal Server Error",
  1671. "schema": {
  1672. "$ref": "#/definitions/app.Response"
  1673. }
  1674. }
  1675. }
  1676. }
  1677. },
  1678. "/HSBY/QueryHsbyMyGoods": {
  1679. "get": {
  1680. "security": [
  1681. {
  1682. "ApiKeyAuth": []
  1683. }
  1684. ],
  1685. "produces": [
  1686. "application/json"
  1687. ],
  1688. "tags": [
  1689. "定制【海商报业】"
  1690. ],
  1691. "summary": "查询“我的商品”信息",
  1692. "parameters": [
  1693. {
  1694. "type": "string",
  1695. "description": "资金账户列表,格式:1,2,3",
  1696. "name": "accountIDs",
  1697. "in": "query",
  1698. "required": true
  1699. }
  1700. ],
  1701. "responses": {
  1702. "200": {
  1703. "description": "OK",
  1704. "schema": {
  1705. "$ref": "#/definitions/models.HsbyMyGoods"
  1706. }
  1707. },
  1708. "500": {
  1709. "description": "Internal Server Error",
  1710. "schema": {
  1711. "$ref": "#/definitions/app.Response"
  1712. }
  1713. }
  1714. }
  1715. }
  1716. },
  1717. "/HSBY/QueryHsbyMyPackages": {
  1718. "get": {
  1719. "security": [
  1720. {
  1721. "ApiKeyAuth": []
  1722. }
  1723. ],
  1724. "produces": [
  1725. "application/json"
  1726. ],
  1727. "tags": [
  1728. "定制【海商报业】"
  1729. ],
  1730. "summary": "查询我的包裹信息",
  1731. "parameters": [
  1732. {
  1733. "type": "string",
  1734. "description": "资金账户列表,格式:1,2,3",
  1735. "name": "accountIDs",
  1736. "in": "query",
  1737. "required": true
  1738. },
  1739. {
  1740. "type": "integer",
  1741. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1742. "name": "takeOrderStatus",
  1743. "in": "query"
  1744. }
  1745. ],
  1746. "responses": {
  1747. "200": {
  1748. "description": "OK",
  1749. "schema": {
  1750. "$ref": "#/definitions/models.HsbyMyPackage"
  1751. }
  1752. },
  1753. "500": {
  1754. "description": "Internal Server Error",
  1755. "schema": {
  1756. "$ref": "#/definitions/app.Response"
  1757. }
  1758. }
  1759. }
  1760. }
  1761. },
  1762. "/HSBY/QueryHsbyPreGoodsDetail": {
  1763. "get": {
  1764. "security": [
  1765. {
  1766. "ApiKeyAuth": []
  1767. }
  1768. ],
  1769. "produces": [
  1770. "application/json"
  1771. ],
  1772. "tags": [
  1773. "定制【海商报业】"
  1774. ],
  1775. "summary": "查询一级市场(预售)商品信息详情",
  1776. "parameters": [
  1777. {
  1778. "type": "integer",
  1779. "description": "商品ID",
  1780. "name": "goodsID",
  1781. "in": "query",
  1782. "required": true
  1783. },
  1784. {
  1785. "type": "integer",
  1786. "description": "资金账户,主要用于获取预售商品购买上限",
  1787. "name": "accountID",
  1788. "in": "query"
  1789. }
  1790. ],
  1791. "responses": {
  1792. "200": {
  1793. "description": "OK",
  1794. "schema": {
  1795. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1796. }
  1797. },
  1798. "500": {
  1799. "description": "Internal Server Error",
  1800. "schema": {
  1801. "$ref": "#/definitions/app.Response"
  1802. }
  1803. }
  1804. }
  1805. }
  1806. },
  1807. "/HSBY/QueryHsbyPreGoodses": {
  1808. "get": {
  1809. "security": [
  1810. {
  1811. "ApiKeyAuth": []
  1812. }
  1813. ],
  1814. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1815. "produces": [
  1816. "application/json"
  1817. ],
  1818. "tags": [
  1819. "定制【海商报业】"
  1820. ],
  1821. "summary": "查询新品上市商品列表(一级市场预售)",
  1822. "parameters": [
  1823. {
  1824. "type": "integer",
  1825. "description": "页码",
  1826. "name": "page",
  1827. "in": "query"
  1828. },
  1829. {
  1830. "type": "integer",
  1831. "description": "每页条数",
  1832. "name": "pagesize",
  1833. "in": "query"
  1834. },
  1835. {
  1836. "type": "string",
  1837. "description": "市场ID列表,格式:1,2,3",
  1838. "name": "marketIDs",
  1839. "in": "query",
  1840. "required": true
  1841. },
  1842. {
  1843. "type": "integer",
  1844. "description": "目的地(省)ID",
  1845. "name": "descProvinceID",
  1846. "in": "query"
  1847. },
  1848. {
  1849. "type": "integer",
  1850. "description": "目的地(市)ID",
  1851. "name": "descCityID",
  1852. "in": "query"
  1853. }
  1854. ],
  1855. "responses": {
  1856. "200": {
  1857. "description": "OK",
  1858. "schema": {
  1859. "$ref": "#/definitions/models.HsbyPreGoods"
  1860. }
  1861. },
  1862. "500": {
  1863. "description": "Internal Server Error",
  1864. "schema": {
  1865. "$ref": "#/definitions/app.Response"
  1866. }
  1867. }
  1868. }
  1869. }
  1870. },
  1871. "/HSBY/QueryHsbySellMyDetails": {
  1872. "get": {
  1873. "security": [
  1874. {
  1875. "ApiKeyAuth": []
  1876. }
  1877. ],
  1878. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1879. "produces": [
  1880. "application/json"
  1881. ],
  1882. "tags": [
  1883. "定制【海商报业】"
  1884. ],
  1885. "summary": "查询\"我的闲置\"单据信息",
  1886. "parameters": [
  1887. {
  1888. "type": "integer",
  1889. "description": "页码",
  1890. "name": "page",
  1891. "in": "query"
  1892. },
  1893. {
  1894. "type": "integer",
  1895. "description": "每页条数",
  1896. "name": "pagesize",
  1897. "in": "query"
  1898. },
  1899. {
  1900. "type": "string",
  1901. "description": "资金账户列表,格式:1,2,3",
  1902. "name": "accountIDs",
  1903. "in": "query",
  1904. "required": true
  1905. },
  1906. {
  1907. "type": "integer",
  1908. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  1909. "name": "orderType",
  1910. "in": "query"
  1911. }
  1912. ],
  1913. "responses": {
  1914. "200": {
  1915. "description": "OK",
  1916. "schema": {
  1917. "$ref": "#/definitions/models.HsbySellMyDetail"
  1918. }
  1919. },
  1920. "500": {
  1921. "description": "Internal Server Error",
  1922. "schema": {
  1923. "$ref": "#/definitions/app.Response"
  1924. }
  1925. }
  1926. }
  1927. }
  1928. },
  1929. "/HSBY/QueryHsbyTopGoodses": {
  1930. "get": {
  1931. "security": [
  1932. {
  1933. "ApiKeyAuth": []
  1934. }
  1935. ],
  1936. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1937. "produces": [
  1938. "application/json"
  1939. ],
  1940. "tags": [
  1941. "定制【海商报业】"
  1942. ],
  1943. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1944. "parameters": [
  1945. {
  1946. "type": "integer",
  1947. "description": "页码",
  1948. "name": "page",
  1949. "in": "query"
  1950. },
  1951. {
  1952. "type": "integer",
  1953. "description": "每页条数",
  1954. "name": "pagesize",
  1955. "in": "query"
  1956. },
  1957. {
  1958. "type": "string",
  1959. "description": "市场ID列表,格式:1,2,3",
  1960. "name": "marketIDs",
  1961. "in": "query",
  1962. "required": true
  1963. },
  1964. {
  1965. "type": "integer",
  1966. "description": "目的地(省)ID",
  1967. "name": "descProvinceID",
  1968. "in": "query"
  1969. },
  1970. {
  1971. "type": "integer",
  1972. "description": "目的地(市)ID",
  1973. "name": "descCityID",
  1974. "in": "query"
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/models.HsbyTopGoods"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/HSBY/QueryMyCollectionOrders": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "定制【海商报业】"
  2005. ],
  2006. "summary": "我的闲置中收款信息查询",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "页码",
  2011. "name": "page",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "integer",
  2016. "description": "每页条数",
  2017. "name": "pagesize",
  2018. "in": "query"
  2019. },
  2020. {
  2021. "type": "string",
  2022. "description": "资金账户,格式:1,2,3",
  2023. "name": "accountIDs",
  2024. "in": "query",
  2025. "required": true
  2026. }
  2027. ],
  2028. "responses": {
  2029. "200": {
  2030. "description": "OK",
  2031. "schema": {
  2032. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2033. }
  2034. },
  2035. "500": {
  2036. "description": "Internal Server Error",
  2037. "schema": {
  2038. "$ref": "#/definitions/app.Response"
  2039. }
  2040. }
  2041. }
  2042. }
  2043. },
  2044. "/HSBY/QueryMyCoupons": {
  2045. "get": {
  2046. "security": [
  2047. {
  2048. "ApiKeyAuth": []
  2049. }
  2050. ],
  2051. "produces": [
  2052. "application/json"
  2053. ],
  2054. "tags": [
  2055. "定制【海商报业】"
  2056. ],
  2057. "summary": "我的优惠卷查询",
  2058. "parameters": [
  2059. {
  2060. "type": "string",
  2061. "description": "资金账户列表,格式:1,2,3",
  2062. "name": "accountIDs",
  2063. "in": "query",
  2064. "required": true
  2065. },
  2066. {
  2067. "type": "integer",
  2068. "description": "商品ID, 一般与sellOrderID配套传入",
  2069. "name": "goodsID",
  2070. "in": "query"
  2071. },
  2072. {
  2073. "type": "integer",
  2074. "description": "卖方UserID",
  2075. "name": "sellUserID",
  2076. "in": "query"
  2077. }
  2078. ],
  2079. "responses": {
  2080. "200": {
  2081. "description": "OK",
  2082. "schema": {
  2083. "$ref": "#/definitions/models.MyCoupon"
  2084. }
  2085. },
  2086. "500": {
  2087. "description": "Internal Server Error",
  2088. "schema": {
  2089. "$ref": "#/definitions/app.Response"
  2090. }
  2091. }
  2092. }
  2093. }
  2094. },
  2095. "/HSBY/QueryMyPayOrders": {
  2096. "get": {
  2097. "security": [
  2098. {
  2099. "ApiKeyAuth": []
  2100. }
  2101. ],
  2102. "produces": [
  2103. "application/json"
  2104. ],
  2105. "tags": [
  2106. "定制【海商报业】"
  2107. ],
  2108. "summary": "获取我的订单中待付款信息",
  2109. "parameters": [
  2110. {
  2111. "type": "integer",
  2112. "description": "页码",
  2113. "name": "page",
  2114. "in": "query"
  2115. },
  2116. {
  2117. "type": "integer",
  2118. "description": "每页条数",
  2119. "name": "pagesize",
  2120. "in": "query"
  2121. },
  2122. {
  2123. "type": "string",
  2124. "description": "资金账户列表,格式:1,2,3",
  2125. "name": "accountIDs",
  2126. "in": "query",
  2127. "required": true
  2128. },
  2129. {
  2130. "type": "integer",
  2131. "description": "买方委托单号",
  2132. "name": "buyOrderID",
  2133. "in": "query"
  2134. },
  2135. {
  2136. "type": "integer",
  2137. "description": "卖方委托单号",
  2138. "name": "sellOrderID",
  2139. "in": "query"
  2140. }
  2141. ],
  2142. "responses": {
  2143. "200": {
  2144. "description": "OK",
  2145. "schema": {
  2146. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2147. }
  2148. },
  2149. "500": {
  2150. "description": "Internal Server Error",
  2151. "schema": {
  2152. "$ref": "#/definitions/app.Response"
  2153. }
  2154. }
  2155. }
  2156. }
  2157. },
  2158. "/HSBY/QueryProvincesAndCities": {
  2159. "get": {
  2160. "security": [
  2161. {
  2162. "ApiKeyAuth": []
  2163. }
  2164. ],
  2165. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2166. "produces": [
  2167. "application/json"
  2168. ],
  2169. "tags": [
  2170. "定制【海商报业】"
  2171. ],
  2172. "summary": "查询省市信息(不包括区)",
  2173. "parameters": [
  2174. {
  2175. "type": "integer",
  2176. "description": "省ID",
  2177. "name": "provinceID",
  2178. "in": "query"
  2179. }
  2180. ],
  2181. "responses": {
  2182. "200": {
  2183. "description": "OK",
  2184. "schema": {
  2185. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2186. }
  2187. },
  2188. "500": {
  2189. "description": "Internal Server Error",
  2190. "schema": {
  2191. "$ref": "#/definitions/app.Response"
  2192. }
  2193. }
  2194. }
  2195. }
  2196. },
  2197. "/HSBY/SetHsbyMyPackagesStatus": {
  2198. "post": {
  2199. "security": [
  2200. {
  2201. "ApiKeyAuth": []
  2202. }
  2203. ],
  2204. "produces": [
  2205. "application/json"
  2206. ],
  2207. "tags": [
  2208. "定制【海商报业】"
  2209. ],
  2210. "summary": "设置我的包裹已收货状态",
  2211. "parameters": [
  2212. {
  2213. "type": "string",
  2214. "description": "提货单号",
  2215. "name": "takeOrderID",
  2216. "in": "query",
  2217. "required": true
  2218. },
  2219. {
  2220. "type": "integer",
  2221. "description": "资金账号",
  2222. "name": "accountID",
  2223. "in": "query",
  2224. "required": true
  2225. }
  2226. ],
  2227. "responses": {
  2228. "200": {
  2229. "description": "OK",
  2230. "schema": {
  2231. "$ref": "#/definitions/app.Response"
  2232. }
  2233. },
  2234. "500": {
  2235. "description": "Internal Server Error",
  2236. "schema": {
  2237. "$ref": "#/definitions/app.Response"
  2238. }
  2239. }
  2240. }
  2241. }
  2242. },
  2243. "/Order/QueryHisTradeDetail": {
  2244. "get": {
  2245. "security": [
  2246. {
  2247. "ApiKeyAuth": []
  2248. }
  2249. ],
  2250. "produces": [
  2251. "application/json"
  2252. ],
  2253. "tags": [
  2254. "通用单据"
  2255. ],
  2256. "summary": "历史成交单查询(合约市场)",
  2257. "parameters": [
  2258. {
  2259. "type": "string",
  2260. "description": "资金账户 - 格式:1,2,3",
  2261. "name": "accountID",
  2262. "in": "query",
  2263. "required": true
  2264. },
  2265. {
  2266. "type": "integer",
  2267. "description": "成交单号",
  2268. "name": "tradeID",
  2269. "in": "query"
  2270. },
  2271. {
  2272. "type": "integer",
  2273. "description": "委托单号",
  2274. "name": "orderID",
  2275. "in": "query"
  2276. },
  2277. {
  2278. "type": "string",
  2279. "description": "交易模式 - 格式:1,2,3",
  2280. "name": "tradeMode",
  2281. "in": "query"
  2282. },
  2283. {
  2284. "type": "integer",
  2285. "description": "委托单据类型",
  2286. "name": "buildType",
  2287. "in": "query"
  2288. },
  2289. {
  2290. "type": "string",
  2291. "description": "成交类别 - 格式:1,2,3",
  2292. "name": "tradeType",
  2293. "in": "query"
  2294. },
  2295. {
  2296. "type": "string",
  2297. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2298. "name": "startDate",
  2299. "in": "query"
  2300. },
  2301. {
  2302. "type": "string",
  2303. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2304. "name": "endDate",
  2305. "in": "query"
  2306. }
  2307. ],
  2308. "responses": {
  2309. "200": {
  2310. "description": "OK",
  2311. "schema": {
  2312. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2313. }
  2314. },
  2315. "500": {
  2316. "description": "Internal Server Error",
  2317. "schema": {
  2318. "$ref": "#/definitions/app.Response"
  2319. }
  2320. }
  2321. }
  2322. }
  2323. },
  2324. "/Order/QueryHisTradeOrderDetail": {
  2325. "get": {
  2326. "security": [
  2327. {
  2328. "ApiKeyAuth": []
  2329. }
  2330. ],
  2331. "produces": [
  2332. "application/json"
  2333. ],
  2334. "tags": [
  2335. "通用单据"
  2336. ],
  2337. "summary": "历史委托单查询请求(合约市场)",
  2338. "parameters": [
  2339. {
  2340. "type": "string",
  2341. "description": "资金账户 - 格式:1,2,3",
  2342. "name": "accountID",
  2343. "in": "query",
  2344. "required": true
  2345. },
  2346. {
  2347. "type": "string",
  2348. "description": "交易模式 - 格式:1,2,3",
  2349. "name": "tradeMode",
  2350. "in": "query"
  2351. },
  2352. {
  2353. "type": "string",
  2354. "description": "委托状态 - 格式:1,2,3",
  2355. "name": "orderStatus",
  2356. "in": "query"
  2357. },
  2358. {
  2359. "type": "integer",
  2360. "description": "委托单号",
  2361. "name": "orderID",
  2362. "in": "query"
  2363. },
  2364. {
  2365. "type": "string",
  2366. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2367. "name": "startDate",
  2368. "in": "query"
  2369. },
  2370. {
  2371. "type": "string",
  2372. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2373. "name": "endDate",
  2374. "in": "query"
  2375. }
  2376. ],
  2377. "responses": {
  2378. "200": {
  2379. "description": "OK",
  2380. "schema": {
  2381. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2382. }
  2383. },
  2384. "500": {
  2385. "description": "Internal Server Error",
  2386. "schema": {
  2387. "$ref": "#/definitions/app.Response"
  2388. }
  2389. }
  2390. }
  2391. }
  2392. },
  2393. "/Order/QueryTradeDetail": {
  2394. "get": {
  2395. "security": [
  2396. {
  2397. "ApiKeyAuth": []
  2398. }
  2399. ],
  2400. "produces": [
  2401. "application/json"
  2402. ],
  2403. "tags": [
  2404. "通用单据"
  2405. ],
  2406. "summary": "成交单查询(合约市场)",
  2407. "parameters": [
  2408. {
  2409. "type": "string",
  2410. "description": "资金账户 - 格式:1,2,3",
  2411. "name": "accountID",
  2412. "in": "query",
  2413. "required": true
  2414. },
  2415. {
  2416. "type": "integer",
  2417. "description": "成交单号",
  2418. "name": "tradeID",
  2419. "in": "query"
  2420. },
  2421. {
  2422. "type": "integer",
  2423. "description": "委托单号",
  2424. "name": "orderID",
  2425. "in": "query"
  2426. },
  2427. {
  2428. "type": "string",
  2429. "description": "交易模式 - 格式:1,2,3",
  2430. "name": "tradeMode",
  2431. "in": "query"
  2432. },
  2433. {
  2434. "type": "integer",
  2435. "description": "委托单据类型",
  2436. "name": "buildType",
  2437. "in": "query"
  2438. },
  2439. {
  2440. "type": "string",
  2441. "description": "成交类别 - 格式:1,2,3",
  2442. "name": "tradeType",
  2443. "in": "query"
  2444. }
  2445. ],
  2446. "responses": {
  2447. "200": {
  2448. "description": "OK",
  2449. "schema": {
  2450. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2451. }
  2452. },
  2453. "500": {
  2454. "description": "Internal Server Error",
  2455. "schema": {
  2456. "$ref": "#/definitions/app.Response"
  2457. }
  2458. }
  2459. }
  2460. }
  2461. },
  2462. "/Order/QueryTradeOrderDetail": {
  2463. "get": {
  2464. "security": [
  2465. {
  2466. "ApiKeyAuth": []
  2467. }
  2468. ],
  2469. "produces": [
  2470. "application/json"
  2471. ],
  2472. "tags": [
  2473. "通用单据"
  2474. ],
  2475. "summary": "委托单查询请求(合约市场)",
  2476. "parameters": [
  2477. {
  2478. "type": "string",
  2479. "description": "资金账户 - 格式:1,2,3",
  2480. "name": "accountID",
  2481. "in": "query",
  2482. "required": true
  2483. },
  2484. {
  2485. "type": "string",
  2486. "description": "交易模式 - 格式:1,2,3",
  2487. "name": "tradeMode",
  2488. "in": "query"
  2489. },
  2490. {
  2491. "type": "string",
  2492. "description": "委托状态 - 格式:1,2,3",
  2493. "name": "orderStatus",
  2494. "in": "query"
  2495. },
  2496. {
  2497. "type": "integer",
  2498. "description": "委托单号",
  2499. "name": "orderID",
  2500. "in": "query"
  2501. }
  2502. ],
  2503. "responses": {
  2504. "200": {
  2505. "description": "OK",
  2506. "schema": {
  2507. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2508. }
  2509. },
  2510. "500": {
  2511. "description": "Internal Server Error",
  2512. "schema": {
  2513. "$ref": "#/definitions/app.Response"
  2514. }
  2515. }
  2516. }
  2517. }
  2518. },
  2519. "/Order/QueryTradePosition": {
  2520. "get": {
  2521. "security": [
  2522. {
  2523. "ApiKeyAuth": []
  2524. }
  2525. ],
  2526. "produces": [
  2527. "application/json"
  2528. ],
  2529. "tags": [
  2530. "通用单据"
  2531. ],
  2532. "summary": "持仓汇总查询(合约市场)",
  2533. "parameters": [
  2534. {
  2535. "type": "string",
  2536. "description": "资金账户 - 格式:1,2,3",
  2537. "name": "accountID",
  2538. "in": "query",
  2539. "required": true
  2540. },
  2541. {
  2542. "type": "string",
  2543. "description": "交易模式 - 格式:1,2,3",
  2544. "name": "tradeMode",
  2545. "in": "query"
  2546. }
  2547. ],
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2553. }
  2554. },
  2555. "500": {
  2556. "description": "Internal Server Error",
  2557. "schema": {
  2558. "$ref": "#/definitions/app.Response"
  2559. }
  2560. }
  2561. }
  2562. }
  2563. },
  2564. "/Quote/QueryHistoryDatas": {
  2565. "get": {
  2566. "security": [
  2567. {
  2568. "ApiKeyAuth": []
  2569. }
  2570. ],
  2571. "produces": [
  2572. "application/json"
  2573. ],
  2574. "tags": [
  2575. "行情服务"
  2576. ],
  2577. "summary": "查询行情历史数据",
  2578. "parameters": [
  2579. {
  2580. "type": "integer",
  2581. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2582. "name": "cycleType",
  2583. "in": "query",
  2584. "required": true
  2585. },
  2586. {
  2587. "type": "string",
  2588. "description": "商品代码",
  2589. "name": "goodsCode",
  2590. "in": "query",
  2591. "required": true
  2592. },
  2593. {
  2594. "type": "string",
  2595. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2596. "name": "startTime",
  2597. "in": "query"
  2598. },
  2599. {
  2600. "type": "string",
  2601. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2602. "name": "endTime",
  2603. "in": "query"
  2604. },
  2605. {
  2606. "type": "integer",
  2607. "description": "条数",
  2608. "name": "count",
  2609. "in": "query"
  2610. },
  2611. {
  2612. "type": "boolean",
  2613. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2614. "name": "isAsc",
  2615. "in": "query"
  2616. }
  2617. ],
  2618. "responses": {
  2619. "200": {
  2620. "description": "OK",
  2621. "schema": {
  2622. "$ref": "#/definitions/quote.HistoryData"
  2623. }
  2624. },
  2625. "500": {
  2626. "description": "Internal Server Error",
  2627. "schema": {
  2628. "$ref": "#/definitions/app.Response"
  2629. }
  2630. }
  2631. }
  2632. }
  2633. },
  2634. "/Quote/QueryTSData": {
  2635. "get": {
  2636. "produces": [
  2637. "application/json"
  2638. ],
  2639. "tags": [
  2640. "行情服务"
  2641. ],
  2642. "summary": "分时图数据查询",
  2643. "parameters": [
  2644. {
  2645. "type": "string",
  2646. "description": "商品代码",
  2647. "name": "GoodsCode",
  2648. "in": "query",
  2649. "required": true
  2650. }
  2651. ],
  2652. "responses": {
  2653. "200": {
  2654. "description": "OK",
  2655. "schema": {
  2656. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2657. }
  2658. },
  2659. "500": {
  2660. "description": "Internal Server Error",
  2661. "schema": {
  2662. "$ref": "#/definitions/app.Response"
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "/SZDZ/QueryConvertConfig": {
  2669. "get": {
  2670. "security": [
  2671. {
  2672. "ApiKeyAuth": []
  2673. }
  2674. ],
  2675. "produces": [
  2676. "application/json"
  2677. ],
  2678. "tags": [
  2679. "定制【尚志大宗】"
  2680. ],
  2681. "summary": "查询交易系统转换设置",
  2682. "parameters": [
  2683. {
  2684. "type": "integer",
  2685. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2686. "name": "convertType",
  2687. "in": "query"
  2688. },
  2689. {
  2690. "type": "string",
  2691. "description": "外部商品代码[JD\\PD]",
  2692. "name": "outerGoodsCode",
  2693. "in": "query"
  2694. },
  2695. {
  2696. "type": "string",
  2697. "description": "内部商品ID列表[交易],格式:1,2,3",
  2698. "name": "innerGoodsIDs",
  2699. "in": "query"
  2700. }
  2701. ],
  2702. "responses": {
  2703. "200": {
  2704. "description": "OK",
  2705. "schema": {
  2706. "$ref": "#/definitions/models.Szdz3convertconfig"
  2707. }
  2708. },
  2709. "500": {
  2710. "description": "Internal Server Error",
  2711. "schema": {
  2712. "$ref": "#/definitions/app.Response"
  2713. }
  2714. }
  2715. }
  2716. }
  2717. },
  2718. "/SZDZ/QueryConvertLog": {
  2719. "get": {
  2720. "security": [
  2721. {
  2722. "ApiKeyAuth": []
  2723. }
  2724. ],
  2725. "produces": [
  2726. "application/json"
  2727. ],
  2728. "tags": [
  2729. "定制【尚志大宗】"
  2730. ],
  2731. "summary": "交易系统转换流水查询",
  2732. "parameters": [
  2733. {
  2734. "type": "string",
  2735. "description": "资金账户 - 格式:1,2,3",
  2736. "name": "accountID",
  2737. "in": "query",
  2738. "required": true
  2739. },
  2740. {
  2741. "type": "string",
  2742. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2743. "name": "startDate",
  2744. "in": "query"
  2745. },
  2746. {
  2747. "type": "string",
  2748. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2749. "name": "endDate",
  2750. "in": "query"
  2751. }
  2752. ],
  2753. "responses": {
  2754. "200": {
  2755. "description": "OK",
  2756. "schema": {
  2757. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2758. }
  2759. },
  2760. "500": {
  2761. "description": "Internal Server Error",
  2762. "schema": {
  2763. "$ref": "#/definitions/app.Response"
  2764. }
  2765. }
  2766. }
  2767. }
  2768. },
  2769. "/SZDZ/QueryGoodsPickup": {
  2770. "get": {
  2771. "security": [
  2772. {
  2773. "ApiKeyAuth": []
  2774. }
  2775. ],
  2776. "produces": [
  2777. "application/json"
  2778. ],
  2779. "tags": [
  2780. "定制【尚志大宗】"
  2781. ],
  2782. "summary": "商品提货单查询",
  2783. "parameters": [
  2784. {
  2785. "type": "string",
  2786. "description": "资金账户 - 格式:1,2,3",
  2787. "name": "accountID",
  2788. "in": "query",
  2789. "required": true
  2790. },
  2791. {
  2792. "type": "integer",
  2793. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2794. "name": "takeOrderStatus",
  2795. "in": "query"
  2796. }
  2797. ],
  2798. "responses": {
  2799. "200": {
  2800. "description": "OK",
  2801. "schema": {
  2802. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2803. }
  2804. },
  2805. "500": {
  2806. "description": "Internal Server Error",
  2807. "schema": {
  2808. "$ref": "#/definitions/app.Response"
  2809. }
  2810. }
  2811. }
  2812. }
  2813. },
  2814. "/SZDZ/QueryRecieptOrder": {
  2815. "get": {
  2816. "security": [
  2817. {
  2818. "ApiKeyAuth": []
  2819. }
  2820. ],
  2821. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2822. "produces": [
  2823. "application/json"
  2824. ],
  2825. "tags": [
  2826. "定制【尚志大宗】"
  2827. ],
  2828. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2829. "parameters": [
  2830. {
  2831. "type": "integer",
  2832. "description": "页码",
  2833. "name": "page",
  2834. "in": "query"
  2835. },
  2836. {
  2837. "type": "integer",
  2838. "description": "每页条数",
  2839. "name": "pagesize",
  2840. "in": "query"
  2841. },
  2842. {
  2843. "type": "integer",
  2844. "description": "商品ID",
  2845. "name": "goodsID",
  2846. "in": "query",
  2847. "required": true
  2848. },
  2849. {
  2850. "type": "string",
  2851. "description": "所属账户名称",
  2852. "name": "accountName",
  2853. "in": "query"
  2854. },
  2855. {
  2856. "type": "integer",
  2857. "description": "市场ID",
  2858. "name": "marketID",
  2859. "in": "query"
  2860. },
  2861. {
  2862. "type": "integer",
  2863. "description": "方向 - 0:买 1:卖",
  2864. "name": "buyorsell",
  2865. "in": "query",
  2866. "required": true
  2867. }
  2868. ],
  2869. "responses": {
  2870. "200": {
  2871. "description": "OK",
  2872. "schema": {
  2873. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2874. }
  2875. },
  2876. "500": {
  2877. "description": "Internal Server Error",
  2878. "schema": {
  2879. "$ref": "#/definitions/app.Response"
  2880. }
  2881. }
  2882. }
  2883. }
  2884. },
  2885. "/SZDZ/QuerySZDZTradePosition": {
  2886. "get": {
  2887. "security": [
  2888. {
  2889. "ApiKeyAuth": []
  2890. }
  2891. ],
  2892. "produces": [
  2893. "application/json"
  2894. ],
  2895. "tags": [
  2896. "定制【尚志大宗】"
  2897. ],
  2898. "summary": "持仓汇总查询(尚志大宗)",
  2899. "parameters": [
  2900. {
  2901. "type": "integer",
  2902. "description": "资金账户",
  2903. "name": "accountID",
  2904. "in": "query",
  2905. "required": true
  2906. }
  2907. ],
  2908. "responses": {
  2909. "200": {
  2910. "description": "OK",
  2911. "schema": {
  2912. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2913. }
  2914. },
  2915. "500": {
  2916. "description": "Internal Server Error",
  2917. "schema": {
  2918. "$ref": "#/definitions/app.Response"
  2919. }
  2920. }
  2921. }
  2922. }
  2923. },
  2924. "/SZDZ/SearchWhite": {
  2925. "get": {
  2926. "security": [
  2927. {
  2928. "ApiKeyAuth": []
  2929. }
  2930. ],
  2931. "produces": [
  2932. "application/json"
  2933. ],
  2934. "tags": [
  2935. "定制【尚志大宗】"
  2936. ],
  2937. "summary": "搜索白名单",
  2938. "parameters": [
  2939. {
  2940. "type": "integer",
  2941. "description": "用户ID",
  2942. "name": "userID",
  2943. "in": "query",
  2944. "required": true
  2945. }
  2946. ],
  2947. "responses": {
  2948. "200": {
  2949. "description": "OK",
  2950. "schema": {
  2951. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2952. }
  2953. },
  2954. "500": {
  2955. "description": "Internal Server Error",
  2956. "schema": {
  2957. "$ref": "#/definitions/app.Response"
  2958. }
  2959. }
  2960. }
  2961. }
  2962. },
  2963. "/Search/SearchGoodses": {
  2964. "get": {
  2965. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2966. "produces": [
  2967. "application/json"
  2968. ],
  2969. "tags": [
  2970. "检索服务"
  2971. ],
  2972. "summary": "检索商品信息",
  2973. "parameters": [
  2974. {
  2975. "type": "string",
  2976. "description": "检索内容",
  2977. "name": "content",
  2978. "in": "query",
  2979. "required": true
  2980. },
  2981. {
  2982. "type": "string",
  2983. "description": "交易模式,格式:1,2,3",
  2984. "name": "tradeModes",
  2985. "in": "query"
  2986. }
  2987. ],
  2988. "responses": {
  2989. "200": {
  2990. "description": "OK",
  2991. "schema": {
  2992. "$ref": "#/definitions/models.SearchGoods"
  2993. }
  2994. },
  2995. "500": {
  2996. "description": "Internal Server Error",
  2997. "schema": {
  2998. "$ref": "#/definitions/app.Response"
  2999. }
  3000. }
  3001. }
  3002. }
  3003. },
  3004. "/TaAccount/QueryAmountLog": {
  3005. "get": {
  3006. "security": [
  3007. {
  3008. "ApiKeyAuth": []
  3009. }
  3010. ],
  3011. "produces": [
  3012. "application/json"
  3013. ],
  3014. "tags": [
  3015. "资金账户"
  3016. ],
  3017. "summary": "资金流水查询(当前)",
  3018. "parameters": [
  3019. {
  3020. "type": "integer",
  3021. "description": "页码",
  3022. "name": "page",
  3023. "in": "query"
  3024. },
  3025. {
  3026. "type": "integer",
  3027. "description": "每页条数",
  3028. "name": "pagesize",
  3029. "in": "query"
  3030. },
  3031. {
  3032. "type": "string",
  3033. "description": "资金账户 - 格式:1,2,3",
  3034. "name": "accountID",
  3035. "in": "query",
  3036. "required": true
  3037. },
  3038. {
  3039. "type": "string",
  3040. "description": "资金操作类型 - 格式:1,2,3",
  3041. "name": "OperateType",
  3042. "in": "query"
  3043. }
  3044. ],
  3045. "responses": {
  3046. "200": {
  3047. "description": "OK",
  3048. "schema": {
  3049. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3050. }
  3051. },
  3052. "500": {
  3053. "description": "Internal Server Error",
  3054. "schema": {
  3055. "$ref": "#/definitions/app.Response"
  3056. }
  3057. }
  3058. }
  3059. }
  3060. },
  3061. "/TaAccount/QueryHisAmountLog": {
  3062. "get": {
  3063. "security": [
  3064. {
  3065. "ApiKeyAuth": []
  3066. }
  3067. ],
  3068. "produces": [
  3069. "application/json"
  3070. ],
  3071. "tags": [
  3072. "资金账户"
  3073. ],
  3074. "summary": "资金流水查询(历史)",
  3075. "parameters": [
  3076. {
  3077. "type": "integer",
  3078. "description": "页码",
  3079. "name": "page",
  3080. "in": "query"
  3081. },
  3082. {
  3083. "type": "integer",
  3084. "description": "每页条数",
  3085. "name": "pagesize",
  3086. "in": "query"
  3087. },
  3088. {
  3089. "type": "string",
  3090. "description": "资金账户 - 格式:1,2,3",
  3091. "name": "accountID",
  3092. "in": "query",
  3093. "required": true
  3094. },
  3095. {
  3096. "type": "string",
  3097. "description": "资金操作类型 - 格式:1,2,3",
  3098. "name": "OperateType",
  3099. "in": "query"
  3100. },
  3101. {
  3102. "type": "string",
  3103. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3104. "name": "startDate",
  3105. "in": "query"
  3106. },
  3107. {
  3108. "type": "string",
  3109. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3110. "name": "endDate",
  3111. "in": "query"
  3112. }
  3113. ],
  3114. "responses": {
  3115. "200": {
  3116. "description": "OK",
  3117. "schema": {
  3118. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3119. }
  3120. },
  3121. "500": {
  3122. "description": "Internal Server Error",
  3123. "schema": {
  3124. "$ref": "#/definitions/app.Response"
  3125. }
  3126. }
  3127. }
  3128. }
  3129. },
  3130. "/Trade/QueryRecieptOrder": {
  3131. "get": {
  3132. "security": [
  3133. {
  3134. "ApiKeyAuth": []
  3135. }
  3136. ],
  3137. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3138. "produces": [
  3139. "application/json"
  3140. ],
  3141. "tags": [
  3142. "通用交易"
  3143. ],
  3144. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3145. "parameters": [
  3146. {
  3147. "type": "integer",
  3148. "description": "页码",
  3149. "name": "page",
  3150. "in": "query"
  3151. },
  3152. {
  3153. "type": "integer",
  3154. "description": "每页条数",
  3155. "name": "pagesize",
  3156. "in": "query"
  3157. },
  3158. {
  3159. "type": "integer",
  3160. "description": "商品ID",
  3161. "name": "goodsID",
  3162. "in": "query",
  3163. "required": true
  3164. },
  3165. {
  3166. "type": "string",
  3167. "description": "所属账户名称",
  3168. "name": "accountName",
  3169. "in": "query"
  3170. },
  3171. {
  3172. "type": "integer",
  3173. "description": "市场ID",
  3174. "name": "marketID",
  3175. "in": "query"
  3176. },
  3177. {
  3178. "type": "integer",
  3179. "description": "方向 - 0:买 1:卖",
  3180. "name": "buyorsell",
  3181. "in": "query",
  3182. "required": true
  3183. }
  3184. ],
  3185. "responses": {
  3186. "200": {
  3187. "description": "OK",
  3188. "schema": {
  3189. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3190. }
  3191. },
  3192. "500": {
  3193. "description": "Internal Server Error",
  3194. "schema": {
  3195. "$ref": "#/definitions/app.Response"
  3196. }
  3197. }
  3198. }
  3199. }
  3200. },
  3201. "/User/AddMessageBoard": {
  3202. "post": {
  3203. "security": [
  3204. {
  3205. "ApiKeyAuth": []
  3206. }
  3207. ],
  3208. "produces": [
  3209. "application/json"
  3210. ],
  3211. "tags": [
  3212. "用户信息"
  3213. ],
  3214. "summary": "添加用户留言板信息",
  3215. "parameters": [
  3216. {
  3217. "type": "integer",
  3218. "description": "用户ID",
  3219. "name": "userID",
  3220. "in": "query",
  3221. "required": true
  3222. },
  3223. {
  3224. "type": "string",
  3225. "description": "留言信息",
  3226. "name": "message",
  3227. "in": "query",
  3228. "required": true
  3229. }
  3230. ],
  3231. "responses": {
  3232. "200": {
  3233. "description": "OK",
  3234. "schema": {
  3235. "$ref": "#/definitions/app.Response"
  3236. }
  3237. },
  3238. "500": {
  3239. "description": "Internal Server Error",
  3240. "schema": {
  3241. "$ref": "#/definitions/app.Response"
  3242. }
  3243. }
  3244. }
  3245. }
  3246. },
  3247. "/User/AddUserFavoriteGoods": {
  3248. "post": {
  3249. "security": [
  3250. {
  3251. "ApiKeyAuth": []
  3252. }
  3253. ],
  3254. "produces": [
  3255. "application/json"
  3256. ],
  3257. "tags": [
  3258. "用户信息"
  3259. ],
  3260. "summary": "添加用户商品收藏信息",
  3261. "parameters": [
  3262. {
  3263. "type": "integer",
  3264. "description": "用户ID",
  3265. "name": "userID",
  3266. "in": "query",
  3267. "required": true
  3268. },
  3269. {
  3270. "type": "integer",
  3271. "description": "商品ID",
  3272. "name": "goodsID",
  3273. "in": "query",
  3274. "required": true
  3275. }
  3276. ],
  3277. "responses": {
  3278. "200": {
  3279. "description": "OK",
  3280. "schema": {
  3281. "$ref": "#/definitions/app.Response"
  3282. }
  3283. },
  3284. "500": {
  3285. "description": "Internal Server Error",
  3286. "schema": {
  3287. "$ref": "#/definitions/app.Response"
  3288. }
  3289. }
  3290. }
  3291. }
  3292. },
  3293. "/User/GetLoginID": {
  3294. "get": {
  3295. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3296. "produces": [
  3297. "application/json"
  3298. ],
  3299. "tags": [
  3300. "用户信息"
  3301. ],
  3302. "summary": "获取登录ID",
  3303. "parameters": [
  3304. {
  3305. "type": "string",
  3306. "description": "登录代码",
  3307. "name": "username",
  3308. "in": "query",
  3309. "required": true
  3310. }
  3311. ],
  3312. "responses": {
  3313. "200": {
  3314. "description": "OK",
  3315. "schema": {
  3316. "$ref": "#/definitions/app.Response"
  3317. }
  3318. },
  3319. "500": {
  3320. "description": "Internal Server Error",
  3321. "schema": {
  3322. "$ref": "#/definitions/app.Response"
  3323. }
  3324. }
  3325. }
  3326. }
  3327. },
  3328. "/User/GetUserAccount": {
  3329. "get": {
  3330. "security": [
  3331. {
  3332. "ApiKeyAuth": []
  3333. }
  3334. ],
  3335. "produces": [
  3336. "application/json"
  3337. ],
  3338. "tags": [
  3339. "用户信息"
  3340. ],
  3341. "summary": "获取用户账号信息",
  3342. "parameters": [
  3343. {
  3344. "type": "integer",
  3345. "description": "用户ID",
  3346. "name": "userID",
  3347. "in": "query",
  3348. "required": true
  3349. }
  3350. ],
  3351. "responses": {
  3352. "200": {
  3353. "description": "OK",
  3354. "schema": {
  3355. "$ref": "#/definitions/models.Useraccount"
  3356. }
  3357. },
  3358. "500": {
  3359. "description": "Internal Server Error",
  3360. "schema": {
  3361. "$ref": "#/definitions/app.Response"
  3362. }
  3363. }
  3364. }
  3365. }
  3366. },
  3367. "/User/GetUserAuthStatus": {
  3368. "get": {
  3369. "security": [
  3370. {
  3371. "ApiKeyAuth": []
  3372. }
  3373. ],
  3374. "produces": [
  3375. "application/json"
  3376. ],
  3377. "tags": [
  3378. "用户信息"
  3379. ],
  3380. "summary": "获取用户实名认证状态",
  3381. "parameters": [
  3382. {
  3383. "type": "integer",
  3384. "description": "用户ID",
  3385. "name": "userID",
  3386. "in": "query",
  3387. "required": true
  3388. }
  3389. ],
  3390. "responses": {
  3391. "200": {
  3392. "description": "OK",
  3393. "schema": {
  3394. "$ref": "#/definitions/app.Response"
  3395. }
  3396. },
  3397. "500": {
  3398. "description": "Internal Server Error",
  3399. "schema": {
  3400. "$ref": "#/definitions/app.Response"
  3401. }
  3402. }
  3403. }
  3404. }
  3405. },
  3406. "/User/QueryMessageBoard": {
  3407. "get": {
  3408. "security": [
  3409. {
  3410. "ApiKeyAuth": []
  3411. }
  3412. ],
  3413. "produces": [
  3414. "application/json"
  3415. ],
  3416. "tags": [
  3417. "用户信息"
  3418. ],
  3419. "summary": "获取用户留言板信息",
  3420. "parameters": [
  3421. {
  3422. "type": "integer",
  3423. "description": "用户ID",
  3424. "name": "userID",
  3425. "in": "query",
  3426. "required": true
  3427. }
  3428. ],
  3429. "responses": {
  3430. "200": {
  3431. "description": "OK",
  3432. "schema": {
  3433. "$ref": "#/definitions/models.Messageboard"
  3434. }
  3435. },
  3436. "500": {
  3437. "description": "Internal Server Error",
  3438. "schema": {
  3439. "$ref": "#/definitions/app.Response"
  3440. }
  3441. }
  3442. }
  3443. }
  3444. },
  3445. "/User/QueryUserFavoriteGoodses": {
  3446. "get": {
  3447. "security": [
  3448. {
  3449. "ApiKeyAuth": []
  3450. }
  3451. ],
  3452. "produces": [
  3453. "application/json"
  3454. ],
  3455. "tags": [
  3456. "用户信息"
  3457. ],
  3458. "summary": "获取用户商品收藏信息",
  3459. "parameters": [
  3460. {
  3461. "type": "integer",
  3462. "description": "用户ID",
  3463. "name": "userID",
  3464. "in": "query",
  3465. "required": true
  3466. }
  3467. ],
  3468. "responses": {
  3469. "200": {
  3470. "description": "OK",
  3471. "schema": {
  3472. "$ref": "#/definitions/models.Userfavoritegoods"
  3473. }
  3474. },
  3475. "500": {
  3476. "description": "Internal Server Error",
  3477. "schema": {
  3478. "$ref": "#/definitions/app.Response"
  3479. }
  3480. }
  3481. }
  3482. }
  3483. },
  3484. "/User/QueryUserInfo": {
  3485. "get": {
  3486. "security": [
  3487. {
  3488. "ApiKeyAuth": []
  3489. }
  3490. ],
  3491. "produces": [
  3492. "application/json"
  3493. ],
  3494. "tags": [
  3495. "用户信息"
  3496. ],
  3497. "summary": "获取用户信息",
  3498. "parameters": [
  3499. {
  3500. "type": "integer",
  3501. "description": "用户ID",
  3502. "name": "userID",
  3503. "in": "query",
  3504. "required": true
  3505. }
  3506. ],
  3507. "responses": {
  3508. "200": {
  3509. "description": "OK",
  3510. "schema": {
  3511. "$ref": "#/definitions/models.Userinfo"
  3512. }
  3513. },
  3514. "500": {
  3515. "description": "Internal Server Error",
  3516. "schema": {
  3517. "$ref": "#/definitions/app.Response"
  3518. }
  3519. }
  3520. }
  3521. }
  3522. },
  3523. "/User/QueryUserReferNum": {
  3524. "get": {
  3525. "produces": [
  3526. "application/json"
  3527. ],
  3528. "tags": [
  3529. "用户信息"
  3530. ],
  3531. "summary": "获取用户邀请码",
  3532. "parameters": [
  3533. {
  3534. "type": "integer",
  3535. "description": "用户ID",
  3536. "name": "userID",
  3537. "in": "query",
  3538. "required": true
  3539. }
  3540. ],
  3541. "responses": {
  3542. "200": {
  3543. "description": "OK",
  3544. "schema": {
  3545. "$ref": "#/definitions/app.Response"
  3546. }
  3547. },
  3548. "500": {
  3549. "description": "Internal Server Error",
  3550. "schema": {
  3551. "$ref": "#/definitions/app.Response"
  3552. }
  3553. }
  3554. }
  3555. }
  3556. },
  3557. "/User/RemoveUserFavoriteGoods": {
  3558. "post": {
  3559. "security": [
  3560. {
  3561. "ApiKeyAuth": []
  3562. }
  3563. ],
  3564. "produces": [
  3565. "application/json"
  3566. ],
  3567. "tags": [
  3568. "用户信息"
  3569. ],
  3570. "summary": "移除用户商品收藏信息",
  3571. "parameters": [
  3572. {
  3573. "type": "integer",
  3574. "description": "用户ID",
  3575. "name": "userID",
  3576. "in": "query",
  3577. "required": true
  3578. },
  3579. {
  3580. "type": "integer",
  3581. "description": "商品ID",
  3582. "name": "goodsID",
  3583. "in": "query",
  3584. "required": true
  3585. }
  3586. ],
  3587. "responses": {
  3588. "200": {
  3589. "description": "OK",
  3590. "schema": {
  3591. "$ref": "#/definitions/app.Response"
  3592. }
  3593. },
  3594. "500": {
  3595. "description": "Internal Server Error",
  3596. "schema": {
  3597. "$ref": "#/definitions/app.Response"
  3598. }
  3599. }
  3600. }
  3601. }
  3602. },
  3603. "/WRTrade/GetAllDeliveryGoods": {
  3604. "get": {
  3605. "security": [
  3606. {
  3607. "ApiKeyAuth": []
  3608. },
  3609. {
  3610. "ApiKeyAuth": []
  3611. }
  3612. ],
  3613. "produces": [
  3614. "application/json",
  3615. "application/json"
  3616. ],
  3617. "tags": [
  3618. "仓单贸易",
  3619. "仓单贸易"
  3620. ],
  3621. "summary": "获取带仓单分类的种类信息",
  3622. "responses": {
  3623. "200": {
  3624. "description": "OK",
  3625. "schema": {
  3626. "$ref": "#/definitions/app.Response"
  3627. }
  3628. },
  3629. "500": {
  3630. "description": "Internal Server Error",
  3631. "schema": {
  3632. "$ref": "#/definitions/app.Response"
  3633. }
  3634. }
  3635. }
  3636. }
  3637. }
  3638. },
  3639. "definitions": {
  3640. "app.Response": {
  3641. "type": "object",
  3642. "properties": {
  3643. "code": {
  3644. "type": "integer"
  3645. },
  3646. "data": {
  3647. "type": "object"
  3648. },
  3649. "msg": {
  3650. "type": "string"
  3651. },
  3652. "page": {
  3653. "description": "页码",
  3654. "type": "integer"
  3655. },
  3656. "pagesize": {
  3657. "description": "每页条数",
  3658. "type": "integer"
  3659. },
  3660. "total": {
  3661. "description": "总条数",
  3662. "type": "integer"
  3663. }
  3664. }
  3665. },
  3666. "common.QueryNoticeRsp": {
  3667. "type": "object",
  3668. "required": [
  3669. "autoid"
  3670. ],
  3671. "properties": {
  3672. "auditoruserid": {
  3673. "description": "审核人",
  3674. "type": "integer"
  3675. },
  3676. "auditremark": {
  3677. "description": "审核备注",
  3678. "type": "string"
  3679. },
  3680. "audittime": {
  3681. "description": "审核日期",
  3682. "type": "string"
  3683. },
  3684. "autoid": {
  3685. "description": "自增ID",
  3686. "type": "integer"
  3687. },
  3688. "content": {
  3689. "description": "内容",
  3690. "type": "string"
  3691. },
  3692. "createtime": {
  3693. "description": "创建时间",
  3694. "type": "string"
  3695. },
  3696. "creatorid": {
  3697. "description": "建仓人",
  3698. "type": "integer"
  3699. },
  3700. "endtime": {
  3701. "description": "结束时间",
  3702. "type": "string"
  3703. },
  3704. "istop": {
  3705. "description": "是否置顶 - 0:不置顶 1:置顶",
  3706. "type": "integer"
  3707. },
  3708. "msgiconurl": {
  3709. "description": "消息图标Url",
  3710. "type": "string"
  3711. },
  3712. "msgtype": {
  3713. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  3714. "type": "integer"
  3715. },
  3716. "publisher": {
  3717. "description": "消息发布者",
  3718. "type": "string"
  3719. },
  3720. "readed": {
  3721. "description": "是否已读",
  3722. "type": "boolean"
  3723. },
  3724. "scheduletime": {
  3725. "description": "计划发送时间",
  3726. "type": "string"
  3727. },
  3728. "sendtype": {
  3729. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  3730. "type": "integer"
  3731. },
  3732. "sentstatus": {
  3733. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  3734. "type": "integer"
  3735. },
  3736. "title": {
  3737. "description": "标题",
  3738. "type": "string"
  3739. },
  3740. "userid": {
  3741. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  3742. "type": "integer"
  3743. }
  3744. }
  3745. },
  3746. "common.QueryProvincesAndCitiesRsp": {
  3747. "type": "object",
  3748. "properties": {
  3749. "cities": {
  3750. "description": "市",
  3751. "type": "array",
  3752. "items": {
  3753. "$ref": "#/definitions/models.Division"
  3754. }
  3755. },
  3756. "province": {
  3757. "description": "省",
  3758. "$ref": "#/definitions/models.Division"
  3759. }
  3760. }
  3761. },
  3762. "common.QueryTableDefineRsp": {
  3763. "type": "object",
  3764. "required": [
  3765. "tablekey"
  3766. ],
  3767. "properties": {
  3768. "columns": {
  3769. "description": "列头信息数组",
  3770. "type": "array",
  3771. "items": {
  3772. "$ref": "#/definitions/models.Tablecolumnconfig"
  3773. }
  3774. },
  3775. "remark": {
  3776. "description": "Remark",
  3777. "type": "string"
  3778. },
  3779. "tabelmenu": {
  3780. "description": "列表菜单",
  3781. "type": "string"
  3782. },
  3783. "tablekey": {
  3784. "description": "列表Key",
  3785. "type": "string"
  3786. },
  3787. "tablename": {
  3788. "description": "列表名称",
  3789. "type": "string"
  3790. },
  3791. "tabletype": {
  3792. "description": "列表类型 - 1:管理端 2:终端",
  3793. "type": "integer"
  3794. }
  3795. }
  3796. },
  3797. "common.QueryTraderMenuRsp": {
  3798. "type": "object",
  3799. "properties": {
  3800. "OperationMenu": {
  3801. "description": "功能菜单",
  3802. "type": "array",
  3803. "items": {
  3804. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3805. }
  3806. },
  3807. "QuoteMenu": {
  3808. "description": "报价牌分类菜单",
  3809. "type": "array",
  3810. "items": {
  3811. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3812. }
  3813. }
  3814. }
  3815. },
  3816. "cptrade.Cptradepositioncancel": {
  3817. "type": "object",
  3818. "required": [
  3819. "cancelid"
  3820. ],
  3821. "properties": {
  3822. "accountid": {
  3823. "description": "申请人账户ID",
  3824. "type": "integer"
  3825. },
  3826. "applystatus": {
  3827. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3828. "type": "integer"
  3829. },
  3830. "applytime": {
  3831. "description": "申请时间",
  3832. "type": "string"
  3833. },
  3834. "cancelid": {
  3835. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3836. "type": "integer"
  3837. },
  3838. "cancelqty": {
  3839. "description": "注销数量",
  3840. "type": "integer"
  3841. },
  3842. "createtime": {
  3843. "description": "创建时间",
  3844. "type": "string"
  3845. },
  3846. "creatorid": {
  3847. "description": "创建人ID",
  3848. "type": "integer"
  3849. },
  3850. "creatorname": {
  3851. "description": "创建人",
  3852. "type": "string"
  3853. },
  3854. "goodscode": {
  3855. "description": "订单商品代码",
  3856. "type": "string"
  3857. },
  3858. "goodsid": {
  3859. "description": "商品ID",
  3860. "type": "integer"
  3861. },
  3862. "goodsname": {
  3863. "description": "订单商品名称",
  3864. "type": "string"
  3865. },
  3866. "goodunit": {
  3867. "description": "报价单位",
  3868. "type": "string"
  3869. },
  3870. "handlestatus": {
  3871. "description": "处理状态",
  3872. "type": "integer"
  3873. },
  3874. "marketid": {
  3875. "description": "市场ID",
  3876. "type": "integer"
  3877. },
  3878. "marketname": {
  3879. "description": "市场名称",
  3880. "type": "string"
  3881. },
  3882. "tradedate": {
  3883. "description": "交易日(yyyyMMdd)",
  3884. "type": "string"
  3885. },
  3886. "userid": {
  3887. "description": "申请人ID",
  3888. "type": "integer"
  3889. }
  3890. }
  3891. },
  3892. "cptrade.Cptradepresaleapply": {
  3893. "type": "object",
  3894. "required": [
  3895. "applyid"
  3896. ],
  3897. "properties": {
  3898. "accountid": {
  3899. "description": "申请人账户ID",
  3900. "type": "integer"
  3901. },
  3902. "applyid": {
  3903. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3904. "type": "integer"
  3905. },
  3906. "applyremark": {
  3907. "description": "申请备注",
  3908. "type": "string"
  3909. },
  3910. "applystatus": {
  3911. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3912. "type": "integer"
  3913. },
  3914. "applytime": {
  3915. "description": "申请时间",
  3916. "type": "string"
  3917. },
  3918. "attachmenturl": {
  3919. "description": "附件地址",
  3920. "type": "string"
  3921. },
  3922. "endtime": {
  3923. "description": "预售结束时间",
  3924. "type": "string"
  3925. },
  3926. "goodscode": {
  3927. "description": "商品代码",
  3928. "type": "string"
  3929. },
  3930. "goodsid": {
  3931. "description": "商品ID",
  3932. "type": "integer"
  3933. },
  3934. "goodsname": {
  3935. "description": "商品名称",
  3936. "type": "string"
  3937. },
  3938. "goodunit": {
  3939. "description": "报价单位",
  3940. "type": "string"
  3941. },
  3942. "handlestatus": {
  3943. "description": "处理状态",
  3944. "type": "integer"
  3945. },
  3946. "marketid": {
  3947. "description": "预售市场ID",
  3948. "type": "integer"
  3949. },
  3950. "marketname": {
  3951. "description": "预售市场名称",
  3952. "type": "string"
  3953. },
  3954. "presaleqty": {
  3955. "description": "预售数量",
  3956. "type": "integer"
  3957. },
  3958. "relatedgoodscode": {
  3959. "description": "关联交易合约代码",
  3960. "type": "string"
  3961. },
  3962. "relatedgoodsid": {
  3963. "description": "关联交易合约ID",
  3964. "type": "integer"
  3965. },
  3966. "relatedgoodsname": {
  3967. "description": "关联交易合约名称",
  3968. "type": "string"
  3969. },
  3970. "starttime": {
  3971. "description": "预售开始时间",
  3972. "type": "string"
  3973. },
  3974. "tradedate": {
  3975. "description": "交易日(yyyyMMdd)",
  3976. "type": "string"
  3977. },
  3978. "trademode": {
  3979. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3980. "type": "integer"
  3981. },
  3982. "userid": {
  3983. "description": "申请人ID",
  3984. "type": "integer"
  3985. }
  3986. }
  3987. },
  3988. "cptrade.Cptradeusergoodsdata": {
  3989. "type": "object",
  3990. "required": [
  3991. "accountid",
  3992. "goodsid"
  3993. ],
  3994. "properties": {
  3995. "EnabledQty": {
  3996. "description": "可用量",
  3997. "type": "integer"
  3998. },
  3999. "GoodsCode": {
  4000. "description": "订单商品代码",
  4001. "type": "string"
  4002. },
  4003. "GoodsName": {
  4004. "description": "订单商品名称",
  4005. "type": "string"
  4006. },
  4007. "WRStandardCode": {
  4008. "description": "仓单标准代码",
  4009. "type": "string"
  4010. },
  4011. "WRStandardName": {
  4012. "description": "仓单标准名称",
  4013. "type": "string"
  4014. },
  4015. "accountid": {
  4016. "description": "账户ID",
  4017. "type": "integer"
  4018. },
  4019. "cancelqty": {
  4020. "description": "注销量",
  4021. "type": "integer"
  4022. },
  4023. "curpresaleqty": {
  4024. "description": "当前预售量",
  4025. "type": "integer"
  4026. },
  4027. "deliveryqty": {
  4028. "description": "交割量",
  4029. "type": "integer"
  4030. },
  4031. "freezeamount": {
  4032. "description": "冻结金额",
  4033. "type": "number"
  4034. },
  4035. "goodsid": {
  4036. "description": "商品ID",
  4037. "type": "integer"
  4038. },
  4039. "goodunit": {
  4040. "description": "报价单位",
  4041. "type": "string"
  4042. },
  4043. "hasspotfreeze": {
  4044. "description": "是否有现货冻结 - 0:否 1:有",
  4045. "type": "integer"
  4046. },
  4047. "inqty": {
  4048. "description": "转入量(总数量)",
  4049. "type": "integer"
  4050. },
  4051. "marketid": {
  4052. "description": "市场ID",
  4053. "type": "integer"
  4054. },
  4055. "presaledamount": {
  4056. "description": "已预售总金额",
  4057. "type": "integer"
  4058. },
  4059. "presaledqty": {
  4060. "description": "已预售量",
  4061. "type": "integer"
  4062. },
  4063. "userid": {
  4064. "description": "用户ID",
  4065. "type": "integer"
  4066. },
  4067. "wrstandardid": {
  4068. "description": "仓单标准ID",
  4069. "type": "integer"
  4070. }
  4071. }
  4072. },
  4073. "cptrade.QueryCPTradeMyBidRsp": {
  4074. "type": "object",
  4075. "required": [
  4076. "accountid",
  4077. "goodsid",
  4078. "marketid",
  4079. "orderid",
  4080. "orderqty",
  4081. "ordertime",
  4082. "tradeprice",
  4083. "tradeqty"
  4084. ],
  4085. "properties": {
  4086. "accountid": {
  4087. "description": "账户ID[报价币种]",
  4088. "type": "integer"
  4089. },
  4090. "goodsid": {
  4091. "description": "商品ID",
  4092. "type": "integer"
  4093. },
  4094. "goodunit": {
  4095. "description": "报价单位",
  4096. "type": "string"
  4097. },
  4098. "marketid": {
  4099. "description": "市场ID",
  4100. "type": "integer"
  4101. },
  4102. "orderid": {
  4103. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4104. "type": "integer"
  4105. },
  4106. "orderprice": {
  4107. "description": "委托价格",
  4108. "type": "number"
  4109. },
  4110. "orderqty": {
  4111. "description": "委托数量",
  4112. "type": "integer"
  4113. },
  4114. "ordertime": {
  4115. "description": "委托时间",
  4116. "type": "string"
  4117. },
  4118. "ordertotalprice": {
  4119. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4120. "type": "number"
  4121. },
  4122. "ordertotalweight": {
  4123. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4124. "type": "integer"
  4125. },
  4126. "totaltotalprice": {
  4127. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4128. "type": "number"
  4129. },
  4130. "tradeprice": {
  4131. "description": "成交价格",
  4132. "type": "number"
  4133. },
  4134. "tradeqty": {
  4135. "description": "成交数量",
  4136. "type": "integer"
  4137. }
  4138. }
  4139. },
  4140. "cptrade.QueryCPTradeOrderDetailRsq": {
  4141. "type": "object",
  4142. "required": [
  4143. "accountid",
  4144. "buildtype",
  4145. "buyorsell",
  4146. "goodsid",
  4147. "marketid",
  4148. "memberuserid",
  4149. "operatetype",
  4150. "orderqty",
  4151. "ordertime",
  4152. "pricemode",
  4153. "strorderid",
  4154. "tradedate",
  4155. "validtype"
  4156. ],
  4157. "properties": {
  4158. "accountid": {
  4159. "description": "账户ID[报价币种]",
  4160. "type": "integer"
  4161. },
  4162. "buildtype": {
  4163. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4164. "type": "integer"
  4165. },
  4166. "buyorsell": {
  4167. "description": "买卖 - 0:买 1:卖",
  4168. "type": "integer"
  4169. },
  4170. "cancelorderid": {
  4171. "description": "撤单单号(撤单时填写)",
  4172. "type": "integer"
  4173. },
  4174. "cancelqty": {
  4175. "description": "撤单数量",
  4176. "type": "integer"
  4177. },
  4178. "clientordertime": {
  4179. "description": "客户端委托时间",
  4180. "type": "string"
  4181. },
  4182. "clientticket": {
  4183. "description": "客户端流水号",
  4184. "type": "string"
  4185. },
  4186. "clienttype": {
  4187. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4188. "type": "integer"
  4189. },
  4190. "closeexchagechargevalue": {
  4191. "description": "平仓交易所手续费设置值",
  4192. "type": "number"
  4193. },
  4194. "closefeealgorithm": {
  4195. "description": "平仓手续费收取方式 1:比率 2:固定",
  4196. "type": "integer"
  4197. },
  4198. "closefreezecharge": {
  4199. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4200. "type": "number"
  4201. },
  4202. "closememberchargevalue": {
  4203. "description": "平仓会员手续费设置值",
  4204. "type": "number"
  4205. },
  4206. "closeqty": {
  4207. "description": "平仓数量(先建后平操作 需要记录)",
  4208. "type": "integer"
  4209. },
  4210. "closetradeqty": {
  4211. "description": "平仓成交数量(先建后平操作,需要记录)",
  4212. "type": "integer"
  4213. },
  4214. "closeunfreezecharge": {
  4215. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4216. "type": "number"
  4217. },
  4218. "delistingtype": {
  4219. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4220. "type": "integer"
  4221. },
  4222. "freezecharge": {
  4223. "description": "冻结手续费",
  4224. "type": "number"
  4225. },
  4226. "freezemargin": {
  4227. "description": "冻结保证金(冻结交易金额)",
  4228. "type": "number"
  4229. },
  4230. "gcaccountid": {
  4231. "description": "账户ID[合约币种]",
  4232. "type": "integer"
  4233. },
  4234. "goodsid": {
  4235. "description": "商品ID",
  4236. "type": "integer"
  4237. },
  4238. "isconfirmexercise": {
  4239. "description": "是否确认行权- 0:否 1:是",
  4240. "type": "integer"
  4241. },
  4242. "ispreexercise": {
  4243. "description": "是否预申报- 0:否 1:是",
  4244. "type": "integer"
  4245. },
  4246. "listingselecttype": {
  4247. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4248. "type": "integer"
  4249. },
  4250. "marginalgorithm": {
  4251. "description": "保证金收取方式 1:比率 2:固定",
  4252. "type": "integer"
  4253. },
  4254. "marginvalue": {
  4255. "description": "即市保证金设置值",
  4256. "type": "number"
  4257. },
  4258. "marketid": {
  4259. "description": "市场ID",
  4260. "type": "integer"
  4261. },
  4262. "marketmaxsub": {
  4263. "description": "市价最大偏移范围",
  4264. "type": "number"
  4265. },
  4266. "memberuserid": {
  4267. "description": "所属会员UserID",
  4268. "type": "integer"
  4269. },
  4270. "openexchagechargevalue": {
  4271. "description": "建仓交易所手续费设置值",
  4272. "type": "number"
  4273. },
  4274. "openfeealgorithm": {
  4275. "description": "建仓手续费收取方式 1:比率 2:固定",
  4276. "type": "integer"
  4277. },
  4278. "openfreezecharge": {
  4279. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4280. "type": "number"
  4281. },
  4282. "openmemberchargevalue": {
  4283. "description": "建仓会员手续费设置值",
  4284. "type": "number"
  4285. },
  4286. "openqty": {
  4287. "description": "开仓数量(先建后平操作,需要记录)",
  4288. "type": "integer"
  4289. },
  4290. "opentradeqty": {
  4291. "description": "开仓成交数量(先建后平操作,需要记录)",
  4292. "type": "integer"
  4293. },
  4294. "openunfreezecharge": {
  4295. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4296. "type": "number"
  4297. },
  4298. "operatetype": {
  4299. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4300. "type": "integer"
  4301. },
  4302. "operatorid": {
  4303. "description": "登录账号(LoginID)",
  4304. "type": "integer"
  4305. },
  4306. "optiontype": {
  4307. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4308. "type": "integer"
  4309. },
  4310. "orderprice": {
  4311. "description": "委托价格",
  4312. "type": "number"
  4313. },
  4314. "orderqty": {
  4315. "description": "委托数量",
  4316. "type": "integer"
  4317. },
  4318. "ordersrc": {
  4319. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4320. "type": "integer"
  4321. },
  4322. "orderstatus": {
  4323. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4324. "type": "integer"
  4325. },
  4326. "ordertime": {
  4327. "description": "委托时间",
  4328. "type": "string"
  4329. },
  4330. "preexerciseprice": {
  4331. "description": "预申报价格",
  4332. "type": "number"
  4333. },
  4334. "premium": {
  4335. "description": "权利金",
  4336. "type": "number"
  4337. },
  4338. "preorderid": {
  4339. "description": "关联预埋单号(止盈止损单时填写)",
  4340. "type": "integer"
  4341. },
  4342. "pricemode": {
  4343. "description": "取价方式 - 1:市价 2: 限价",
  4344. "type": "integer"
  4345. },
  4346. "quoteid": {
  4347. "description": "报价单ID",
  4348. "type": "integer"
  4349. },
  4350. "relatedid": {
  4351. "description": "关联单号(交割单)",
  4352. "type": "integer"
  4353. },
  4354. "retcode": {
  4355. "description": "错误代码",
  4356. "type": "integer"
  4357. },
  4358. "sessionid": {
  4359. "description": "会话ID",
  4360. "type": "integer"
  4361. },
  4362. "strorderid": {
  4363. "description": "委托单号",
  4364. "type": "string"
  4365. },
  4366. "tradedate": {
  4367. "description": "交易日(yyyyMMdd)",
  4368. "type": "string"
  4369. },
  4370. "tradeproperty": {
  4371. "description": "交易属性",
  4372. "type": "integer"
  4373. },
  4374. "tradeqty": {
  4375. "description": "成交数量",
  4376. "type": "integer"
  4377. },
  4378. "unfreezecharge": {
  4379. "description": "解冻手续费",
  4380. "type": "number"
  4381. },
  4382. "unfreezemargin": {
  4383. "description": "解冻保证金",
  4384. "type": "number"
  4385. },
  4386. "updatetime": {
  4387. "description": "更新时间",
  4388. "type": "string"
  4389. },
  4390. "uuid": {
  4391. "description": "发起端唯一id",
  4392. "type": "string"
  4393. },
  4394. "validtime": {
  4395. "description": "有效期限",
  4396. "type": "string"
  4397. },
  4398. "validtype": {
  4399. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4400. "type": "integer"
  4401. },
  4402. "volumetype": {
  4403. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4404. "type": "integer"
  4405. }
  4406. }
  4407. },
  4408. "cptrade.QueryMyCPTradeGoodsRsp": {
  4409. "type": "object",
  4410. "required": [
  4411. "goodscode",
  4412. "goodsid",
  4413. "goodsname",
  4414. "marketid",
  4415. "relatedgoodscode",
  4416. "relatedgoodsname"
  4417. ],
  4418. "properties": {
  4419. "accountid": {
  4420. "description": "卖方账户ID",
  4421. "type": "integer"
  4422. },
  4423. "agreeunit": {
  4424. "description": "合约单位",
  4425. "type": "number"
  4426. },
  4427. "applyid": {
  4428. "description": "关联申请ID",
  4429. "type": "integer"
  4430. },
  4431. "attachmenturl": {
  4432. "description": "附件地址",
  4433. "type": "string"
  4434. },
  4435. "createtime": {
  4436. "description": "创建时间",
  4437. "type": "string"
  4438. },
  4439. "currencyid": {
  4440. "description": "报价货币ID",
  4441. "type": "integer"
  4442. },
  4443. "decimalplace": {
  4444. "description": "报价小数位",
  4445. "type": "integer"
  4446. },
  4447. "endtime": {
  4448. "description": "预售结束时间",
  4449. "type": "string"
  4450. },
  4451. "floorprice": {
  4452. "description": "底价[大宗式竞拍]",
  4453. "type": "number"
  4454. },
  4455. "goodscode": {
  4456. "description": "商品代码(预售)",
  4457. "type": "string"
  4458. },
  4459. "goodsdetail": {
  4460. "description": "详情[大宗]",
  4461. "type": "string"
  4462. },
  4463. "goodsid": {
  4464. "description": "商品ID(自增ID SEQ_GOODS)",
  4465. "type": "integer"
  4466. },
  4467. "goodsname": {
  4468. "description": "商品名称(预售)",
  4469. "type": "string"
  4470. },
  4471. "goodunit": {
  4472. "description": "报价单位",
  4473. "type": "string"
  4474. },
  4475. "goodunitid": {
  4476. "description": "报价单位ID",
  4477. "type": "integer"
  4478. },
  4479. "marketid": {
  4480. "description": "所属市场ID",
  4481. "type": "integer"
  4482. },
  4483. "marketname": {
  4484. "description": "预售市场名称",
  4485. "type": "string"
  4486. },
  4487. "presaledamount": {
  4488. "description": "已预售总金额(预售结束时更新)",
  4489. "type": "number"
  4490. },
  4491. "presaledqty": {
  4492. "description": "已预售量(预售结束时更新)",
  4493. "type": "integer"
  4494. },
  4495. "presalemode": {
  4496. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4497. "type": "integer"
  4498. },
  4499. "presaleqty": {
  4500. "description": "预售数量",
  4501. "type": "integer"
  4502. },
  4503. "refprice": {
  4504. "description": "参考价格[一口价]",
  4505. "type": "number"
  4506. },
  4507. "relatedgoodscode": {
  4508. "description": "商品代码(订单)",
  4509. "type": "string"
  4510. },
  4511. "relatedgoodsid": {
  4512. "description": "关联交易合约ID",
  4513. "type": "integer"
  4514. },
  4515. "relatedgoodsname": {
  4516. "description": "商品名称(订单)",
  4517. "type": "string"
  4518. },
  4519. "relatedmarketid": {
  4520. "description": "关联交易合约市场ID",
  4521. "type": "integer"
  4522. },
  4523. "sellstatus": {
  4524. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4525. "type": "integer"
  4526. },
  4527. "startprice": {
  4528. "description": "起拍价[大宗式竞拍]",
  4529. "type": "number"
  4530. },
  4531. "starttime": {
  4532. "description": "预售开始时间",
  4533. "type": "string"
  4534. },
  4535. "tradedate": {
  4536. "description": "交易日(yyyyMMdd)",
  4537. "type": "string"
  4538. },
  4539. "tradeprice": {
  4540. "description": "成交价[大宗]",
  4541. "type": "number"
  4542. },
  4543. "userid": {
  4544. "description": "卖方用户ID",
  4545. "type": "integer"
  4546. }
  4547. }
  4548. },
  4549. "cptrade.QueryPresaleGoodsExRsp": {
  4550. "type": "object",
  4551. "required": [
  4552. "goodsid"
  4553. ],
  4554. "properties": {
  4555. "attachmenturl": {
  4556. "description": "附件地址",
  4557. "type": "string"
  4558. },
  4559. "createtime": {
  4560. "description": "创建时间",
  4561. "type": "string"
  4562. },
  4563. "endtime": {
  4564. "description": "预售结束时间",
  4565. "type": "string"
  4566. },
  4567. "floorprice": {
  4568. "description": "底价[大宗式竞拍]",
  4569. "type": "number"
  4570. },
  4571. "goodsdetail": {
  4572. "description": "详情[大宗]",
  4573. "type": "string"
  4574. },
  4575. "goodsid": {
  4576. "description": "商品ID(预售)",
  4577. "type": "integer"
  4578. },
  4579. "goodunit": {
  4580. "description": "报价单位",
  4581. "type": "string"
  4582. },
  4583. "marketid": {
  4584. "description": "预售市场ID - 根据预售模式选择市场",
  4585. "type": "integer"
  4586. },
  4587. "presaledamount": {
  4588. "description": "已预售总金额(预售结束时更新)",
  4589. "type": "number"
  4590. },
  4591. "presaledqty": {
  4592. "description": "已预售量(预售结束时更新)",
  4593. "type": "integer"
  4594. },
  4595. "presalemode": {
  4596. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4597. "type": "integer"
  4598. },
  4599. "presaleqty": {
  4600. "description": "预售数量",
  4601. "type": "integer"
  4602. },
  4603. "refprice": {
  4604. "description": "参考价格[一口价]",
  4605. "type": "number"
  4606. },
  4607. "relatedgoodsid": {
  4608. "description": "关联交易合约ID",
  4609. "type": "integer"
  4610. },
  4611. "relatedmarketid": {
  4612. "description": "关联交易合约市场ID",
  4613. "type": "integer"
  4614. },
  4615. "sellstatus": {
  4616. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4617. "type": "integer"
  4618. },
  4619. "startprice": {
  4620. "description": "起拍价[大宗式竞拍]",
  4621. "type": "number"
  4622. },
  4623. "starttime": {
  4624. "description": "预售开始时间",
  4625. "type": "string"
  4626. },
  4627. "tradedate": {
  4628. "description": "交易日(yyyyMMdd)",
  4629. "type": "string"
  4630. },
  4631. "tradeprice": {
  4632. "description": "成交价[大宗]",
  4633. "type": "number"
  4634. }
  4635. }
  4636. },
  4637. "delivery.QueryDeliveryRelationRsp": {
  4638. "type": "object",
  4639. "required": [
  4640. "begindate",
  4641. "enddate",
  4642. "goodsid",
  4643. "mindeliveryqty",
  4644. "xdeliveryratio"
  4645. ],
  4646. "properties": {
  4647. "begindate": {
  4648. "description": "起始日期(yyyyMMdd)",
  4649. "type": "string"
  4650. },
  4651. "buytemplateid": {
  4652. "description": "买履约计划模板ID",
  4653. "type": "integer"
  4654. },
  4655. "deliverygoodscode": {
  4656. "description": "品种代码",
  4657. "type": "string"
  4658. },
  4659. "deliverygoodsid": {
  4660. "description": "交割商品",
  4661. "type": "integer"
  4662. },
  4663. "deliverygoodsname": {
  4664. "description": "品种名称",
  4665. "type": "string"
  4666. },
  4667. "deliverymode": {
  4668. "description": "交割方式 - 1:点选式 2:申报式",
  4669. "type": "integer"
  4670. },
  4671. "deliverypricerule": {
  4672. "description": "交割价规则- 1:行情价 2:建仓价",
  4673. "type": "integer"
  4674. },
  4675. "deliverytype": {
  4676. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  4677. "type": "integer"
  4678. },
  4679. "enddate": {
  4680. "description": "结束日期(yyyyMMdd)",
  4681. "type": "string"
  4682. },
  4683. "goodscode": {
  4684. "description": "商品代码",
  4685. "type": "string"
  4686. },
  4687. "goodsid": {
  4688. "description": "交易合约ID",
  4689. "type": "integer"
  4690. },
  4691. "goodsname": {
  4692. "description": "商品名称",
  4693. "type": "string"
  4694. },
  4695. "marketid": {
  4696. "description": "市场ID",
  4697. "type": "integer"
  4698. },
  4699. "mindeliveryqty": {
  4700. "description": "最小交割系数(K)",
  4701. "type": "integer"
  4702. },
  4703. "p2deliveryprice": {
  4704. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  4705. "type": "number"
  4706. },
  4707. "p2deliveryratio": {
  4708. "description": "P2合约系数(p)",
  4709. "type": "integer"
  4710. },
  4711. "p2goodsid": {
  4712. "description": "P2合约ID",
  4713. "type": "integer"
  4714. },
  4715. "p2pricemode": {
  4716. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  4717. "type": "integer"
  4718. },
  4719. "pdeliveryprice": {
  4720. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  4721. "type": "number"
  4722. },
  4723. "pdeliveryratio": {
  4724. "description": "P合约系数(n)",
  4725. "type": "integer"
  4726. },
  4727. "pgoodsid": {
  4728. "description": "P合约ID",
  4729. "type": "integer"
  4730. },
  4731. "ppricemode": {
  4732. "description": "P合约价格方式 - 1:商品价 2:固定值",
  4733. "type": "integer"
  4734. },
  4735. "rratio": {
  4736. "description": "兑换系数(R)",
  4737. "type": "integer"
  4738. },
  4739. "rratio1": {
  4740. "description": "兑换系数(交易合约)(R1)",
  4741. "type": "integer"
  4742. },
  4743. "rratio2": {
  4744. "description": "兑换系数(仓单标准)(R2)",
  4745. "type": "integer"
  4746. },
  4747. "selltemplateid": {
  4748. "description": "卖履约计划模板ID",
  4749. "type": "integer"
  4750. },
  4751. "wrstandardid": {
  4752. "description": "仓单标准ID",
  4753. "type": "integer"
  4754. },
  4755. "xdeliveryratio": {
  4756. "description": "交易合约系数(m)",
  4757. "type": "integer"
  4758. }
  4759. }
  4760. },
  4761. "erms2.QueryArbitrageStrategyRsp": {
  4762. "type": "object",
  4763. "required": [
  4764. "asapplyid"
  4765. ],
  4766. "properties": {
  4767. "applybasis": {
  4768. "description": "申请基差",
  4769. "type": "number"
  4770. },
  4771. "asapplyid": {
  4772. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  4773. "type": "string"
  4774. },
  4775. "asname": {
  4776. "description": "策略名称",
  4777. "type": "string"
  4778. },
  4779. "asno": {
  4780. "description": "策略编号",
  4781. "type": "string"
  4782. },
  4783. "basischangepl": {
  4784. "description": "基差变动损益[结算更新]",
  4785. "type": "number"
  4786. },
  4787. "biztype": {
  4788. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4789. "type": "integer"
  4790. },
  4791. "closetradedate": {
  4792. "description": "完结交易日(yyyyMMdd)",
  4793. "type": "string"
  4794. },
  4795. "curbasis": {
  4796. "description": "当前基差[结算更新]",
  4797. "type": "number"
  4798. },
  4799. "deliverygoodsid": {
  4800. "description": "现货品种ID",
  4801. "type": "integer"
  4802. },
  4803. "futureavgprice": {
  4804. "description": "期货建仓均价",
  4805. "type": "number"
  4806. },
  4807. "futurecloseamount": {
  4808. "description": "期货平仓金额",
  4809. "type": "number"
  4810. },
  4811. "futurecloseqty": {
  4812. "description": "期货平仓数量",
  4813. "type": "number"
  4814. },
  4815. "futureopenamount": {
  4816. "description": "期货开仓金额",
  4817. "type": "number"
  4818. },
  4819. "futureopenqty": {
  4820. "description": "期货开仓数量",
  4821. "type": "number"
  4822. },
  4823. "futurepl": {
  4824. "description": "期货总盈亏[结算更新]",
  4825. "type": "number"
  4826. },
  4827. "futureqty": {
  4828. "description": "期货持仓数量",
  4829. "type": "number"
  4830. },
  4831. "futurequote": {
  4832. "description": "期货额度",
  4833. "type": "number"
  4834. },
  4835. "goodsgroupid": {
  4836. "description": "期货品种ID",
  4837. "type": "integer"
  4838. },
  4839. "marketid": {
  4840. "description": "市场ID",
  4841. "type": "integer"
  4842. },
  4843. "netexposure": {
  4844. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4845. "type": "number"
  4846. },
  4847. "netexposurepl": {
  4848. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4849. "type": "number"
  4850. },
  4851. "netexposurerate": {
  4852. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4853. "type": "number"
  4854. },
  4855. "openbasis": {
  4856. "description": "建仓基差",
  4857. "type": "number"
  4858. },
  4859. "pricedspotqty": {
  4860. "description": "已定价现货数量",
  4861. "type": "number"
  4862. },
  4863. "pricedspotqtynotax": {
  4864. "description": "已定价现货不含税数量",
  4865. "type": "number"
  4866. },
  4867. "remark": {
  4868. "description": "备注",
  4869. "type": "string"
  4870. },
  4871. "spotavgprice": {
  4872. "description": "现货均价",
  4873. "type": "number"
  4874. },
  4875. "spotbuyamount": {
  4876. "description": "现货采购金额",
  4877. "type": "number"
  4878. },
  4879. "spotbuyqty": {
  4880. "description": "现货采购数量",
  4881. "type": "number"
  4882. },
  4883. "spotpl": {
  4884. "description": "现货总盈亏[结算更新]",
  4885. "type": "number"
  4886. },
  4887. "spotquota": {
  4888. "description": "现货额度",
  4889. "type": "number"
  4890. },
  4891. "spotsellamount": {
  4892. "description": "现货销售金额",
  4893. "type": "number"
  4894. },
  4895. "spotsellqty": {
  4896. "description": "现货销售数量",
  4897. "type": "number"
  4898. },
  4899. "spotusedquota": {
  4900. "description": "现货占用资金",
  4901. "type": "number"
  4902. },
  4903. "strategystatus": {
  4904. "description": "策略状态 - 0:未结束 1:已结束",
  4905. "type": "integer"
  4906. },
  4907. "totalpl": {
  4908. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4909. "type": "number"
  4910. },
  4911. "tradedate": {
  4912. "description": "交易日(yyyyMMdd)",
  4913. "type": "string"
  4914. },
  4915. "updatetime": {
  4916. "description": "更新时间",
  4917. "type": "string"
  4918. },
  4919. "usedquota": {
  4920. "description": "已占用资金",
  4921. "type": "number"
  4922. },
  4923. "userid": {
  4924. "description": "所属机构",
  4925. "type": "integer"
  4926. }
  4927. }
  4928. },
  4929. "erms2.QueryInnerTradeDetailRsp": {
  4930. "type": "object",
  4931. "required": [
  4932. "asapplyid",
  4933. "buyorsell",
  4934. "goodscode",
  4935. "goodsgroupid",
  4936. "goodsgroupname",
  4937. "goodsname",
  4938. "tradeid"
  4939. ],
  4940. "properties": {
  4941. "accountid": {
  4942. "description": "账号ID",
  4943. "type": "integer"
  4944. },
  4945. "agreeunit": {
  4946. "description": "合约单位",
  4947. "type": "number"
  4948. },
  4949. "asapplyid": {
  4950. "description": "策略申请ID",
  4951. "type": "integer"
  4952. },
  4953. "asname": {
  4954. "description": "策略名称",
  4955. "type": "string"
  4956. },
  4957. "asno": {
  4958. "description": "策略编号",
  4959. "type": "string"
  4960. },
  4961. "buyorsell": {
  4962. "description": "方向 - 0:买 1:卖",
  4963. "type": "integer"
  4964. },
  4965. "channelbuildtype": {
  4966. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4967. "type": "integer"
  4968. },
  4969. "closetype": {
  4970. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4971. "type": "integer"
  4972. },
  4973. "decimalplace": {
  4974. "description": "报价小数位",
  4975. "type": "integer"
  4976. },
  4977. "detailtype": {
  4978. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4979. "type": "integer"
  4980. },
  4981. "exexchangecode": {
  4982. "description": "外部交易所代码",
  4983. "type": "string"
  4984. },
  4985. "exexchangename": {
  4986. "description": "外部交易所名称",
  4987. "type": "string"
  4988. },
  4989. "goodscode": {
  4990. "description": "商品代码(合约)",
  4991. "type": "string"
  4992. },
  4993. "goodsgroupid": {
  4994. "description": "商品组ID(品种ID)",
  4995. "type": "integer"
  4996. },
  4997. "goodsgroupname": {
  4998. "description": "商品组名称(品种)",
  4999. "type": "string"
  5000. },
  5001. "goodsid": {
  5002. "description": "商品ID",
  5003. "type": "integer"
  5004. },
  5005. "goodsname": {
  5006. "description": "商品名称(合约)",
  5007. "type": "string"
  5008. },
  5009. "goodunit": {
  5010. "description": "报价单位",
  5011. "type": "string"
  5012. },
  5013. "marketid": {
  5014. "description": "市场ID",
  5015. "type": "integer"
  5016. },
  5017. "orderid": {
  5018. "description": "委托单号",
  5019. "type": "string"
  5020. },
  5021. "outgoodscode": {
  5022. "description": "商品代码(外部)",
  5023. "type": "string"
  5024. },
  5025. "relatedouttradeid": {
  5026. "description": "关联外部成交单ID",
  5027. "type": "string"
  5028. },
  5029. "remark": {
  5030. "description": "备注",
  5031. "type": "string"
  5032. },
  5033. "spotcontractid": {
  5034. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  5035. "type": "integer"
  5036. },
  5037. "spotcontractno": {
  5038. "description": "现货合同编号",
  5039. "type": "string"
  5040. },
  5041. "tradeid": {
  5042. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5043. "type": "string"
  5044. },
  5045. "tradeprice": {
  5046. "description": "成交价格",
  5047. "type": "number"
  5048. },
  5049. "tradeqty": {
  5050. "description": "成交数量",
  5051. "type": "integer"
  5052. },
  5053. "tradetime": {
  5054. "description": "成交时间",
  5055. "type": "string"
  5056. },
  5057. "updatetime": {
  5058. "description": "更新时间",
  5059. "type": "string"
  5060. }
  5061. }
  5062. },
  5063. "erms2.QuerySpotContractRsp": {
  5064. "type": "object",
  5065. "required": [
  5066. "spotcontractid"
  5067. ],
  5068. "properties": {
  5069. "accountid": {
  5070. "description": "资金账户ID",
  5071. "type": "integer"
  5072. },
  5073. "areauserid": {
  5074. "description": "所属机构",
  5075. "type": "integer"
  5076. },
  5077. "closedate": {
  5078. "description": "终止日期",
  5079. "type": "string"
  5080. },
  5081. "closeremark": {
  5082. "description": "结束备注",
  5083. "type": "string"
  5084. },
  5085. "closetradedate": {
  5086. "description": "完结交易日(yyyyMMdd)",
  5087. "type": "string"
  5088. },
  5089. "closetype": {
  5090. "description": "终止类型 - 1:违约 2:提前终止",
  5091. "type": "integer"
  5092. },
  5093. "contractamount": {
  5094. "description": "合同金额",
  5095. "type": "number"
  5096. },
  5097. "contractattachment": {
  5098. "description": "合同附件",
  5099. "type": "string"
  5100. },
  5101. "contractno": {
  5102. "description": "现货合同编号",
  5103. "type": "string"
  5104. },
  5105. "contractqty": {
  5106. "description": "合同数量(数值) (用于计算)",
  5107. "type": "number"
  5108. },
  5109. "contractqtychar": {
  5110. "description": "合同数量\\已订价数量 (用于显示)",
  5111. "type": "string"
  5112. },
  5113. "contractstatus": {
  5114. "description": "合同状态 - 0:未结束 1:已结束",
  5115. "type": "integer"
  5116. },
  5117. "contracttype": {
  5118. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  5119. "type": "integer"
  5120. },
  5121. "customeraccountid": {
  5122. "description": "客户资金账户ID",
  5123. "type": "integer"
  5124. },
  5125. "customeruserid": {
  5126. "description": "客户ID",
  5127. "type": "integer"
  5128. },
  5129. "deliverygoodsdesc": {
  5130. "description": "品种说明",
  5131. "type": "string"
  5132. },
  5133. "deliverygoodsid": {
  5134. "description": "现货品种ID",
  5135. "type": "integer"
  5136. },
  5137. "handlestatus": {
  5138. "description": "处理状态",
  5139. "type": "integer"
  5140. },
  5141. "invoiceatt": {
  5142. "description": "发票附件",
  5143. "type": "string"
  5144. },
  5145. "invoicedatetime": {
  5146. "description": "开收票更新时间",
  5147. "type": "string"
  5148. },
  5149. "invoiceopentime": {
  5150. "description": "开票时间",
  5151. "type": "string"
  5152. },
  5153. "invoiceremark": {
  5154. "description": "发票备注",
  5155. "type": "string"
  5156. },
  5157. "invoicestatus": {
  5158. "description": "开收票状态 - 0:未开票 1:已开票",
  5159. "type": "integer"
  5160. },
  5161. "lastdate": {
  5162. "description": "交货时间",
  5163. "type": "string"
  5164. },
  5165. "marketid": {
  5166. "description": "市场ID",
  5167. "type": "integer"
  5168. },
  5169. "paydatetime": {
  5170. "description": "收付款更新时间",
  5171. "type": "string"
  5172. },
  5173. "payremark": {
  5174. "description": "收付款备注",
  5175. "type": "string"
  5176. },
  5177. "paystatus": {
  5178. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  5179. "type": "integer"
  5180. },
  5181. "positionqty": {
  5182. "description": "头寸数量 - 合同数量去小数部分",
  5183. "type": "integer"
  5184. },
  5185. "producttype": {
  5186. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5187. "type": "integer"
  5188. },
  5189. "relatedqty": {
  5190. "description": "已关联数量",
  5191. "type": "number"
  5192. },
  5193. "relatedstatus": {
  5194. "description": "关联完结状态 - 0:未结束 1:已结束",
  5195. "type": "integer"
  5196. },
  5197. "remark": {
  5198. "description": "备注",
  5199. "type": "string"
  5200. },
  5201. "signdate": {
  5202. "description": "签订日期",
  5203. "type": "string"
  5204. },
  5205. "spotcontractid": {
  5206. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  5207. "type": "string"
  5208. },
  5209. "spotdatetime": {
  5210. "description": "收发货更新时间",
  5211. "type": "string"
  5212. },
  5213. "spotprice": {
  5214. "description": "价格",
  5215. "type": "number"
  5216. },
  5217. "spotremark": {
  5218. "description": "收发货备注",
  5219. "type": "string"
  5220. },
  5221. "spotstatus": {
  5222. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  5223. "type": "integer"
  5224. },
  5225. "tradedate": {
  5226. "description": "交易日(yyyyMMdd)",
  5227. "type": "string"
  5228. },
  5229. "userid": {
  5230. "description": "业务员用户ID",
  5231. "type": "integer"
  5232. },
  5233. "warehouseid": {
  5234. "description": "仓库ID",
  5235. "type": "integer"
  5236. },
  5237. "wrfactortypeid": {
  5238. "description": "仓单要素类型ID",
  5239. "type": "integer"
  5240. },
  5241. "wrstandardid": {
  5242. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  5243. "type": "integer"
  5244. }
  5245. }
  5246. },
  5247. "erms3.AddErms2ASApplyReq": {
  5248. "type": "object",
  5249. "required": [
  5250. "asapplyid"
  5251. ],
  5252. "properties": {
  5253. "applybasis": {
  5254. "description": "申请基差",
  5255. "type": "number"
  5256. },
  5257. "applystatus": {
  5258. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5259. "type": "integer"
  5260. },
  5261. "asapplyid": {
  5262. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  5263. "type": "integer"
  5264. },
  5265. "asname": {
  5266. "description": "策略名称",
  5267. "type": "string"
  5268. },
  5269. "asno": {
  5270. "description": "策略编号",
  5271. "type": "string"
  5272. },
  5273. "auditid": {
  5274. "description": "审核人",
  5275. "type": "integer"
  5276. },
  5277. "auditremark": {
  5278. "description": "审核备注",
  5279. "type": "string"
  5280. },
  5281. "audittime": {
  5282. "description": "审核时间",
  5283. "type": "string"
  5284. },
  5285. "biztype": {
  5286. "description": "业务类型 - 1:正向套利 2:反向套利",
  5287. "type": "integer"
  5288. },
  5289. "createtime": {
  5290. "description": "创建时间",
  5291. "type": "string"
  5292. },
  5293. "creatorid": {
  5294. "description": "创建人",
  5295. "type": "integer"
  5296. },
  5297. "deliverygoodsid": {
  5298. "description": "现货品种ID",
  5299. "type": "integer"
  5300. },
  5301. "futurequote": {
  5302. "description": "期货额度",
  5303. "type": "number"
  5304. },
  5305. "goodsgroupid": {
  5306. "description": "期货品种ID",
  5307. "type": "integer"
  5308. },
  5309. "marketid": {
  5310. "description": "市场ID",
  5311. "type": "integer"
  5312. },
  5313. "remark": {
  5314. "description": "备注",
  5315. "type": "string"
  5316. },
  5317. "spotquota": {
  5318. "description": "现货额度",
  5319. "type": "number"
  5320. },
  5321. "tradedate": {
  5322. "description": "交易日(yyyyMMdd)",
  5323. "type": "string"
  5324. },
  5325. "userid": {
  5326. "description": "所属机构",
  5327. "type": "integer"
  5328. }
  5329. }
  5330. },
  5331. "erms3.AddErms2SpotTradeApplyReq": {
  5332. "type": "object",
  5333. "required": [
  5334. "spottradeid"
  5335. ],
  5336. "properties": {
  5337. "applyjsondetail": {
  5338. "description": "申请明细(JSON)",
  5339. "type": "string"
  5340. },
  5341. "applystatus": {
  5342. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5343. "type": "integer"
  5344. },
  5345. "areauserid": {
  5346. "description": "所属机构",
  5347. "type": "integer"
  5348. },
  5349. "auditid": {
  5350. "description": "审核人",
  5351. "type": "integer"
  5352. },
  5353. "auditremark": {
  5354. "description": "审核备注",
  5355. "type": "string"
  5356. },
  5357. "audittime": {
  5358. "description": "审核时间",
  5359. "type": "string"
  5360. },
  5361. "createtime": {
  5362. "description": "创建时间",
  5363. "type": "string"
  5364. },
  5365. "creatorid": {
  5366. "description": "创建人",
  5367. "type": "integer"
  5368. },
  5369. "deliverygoodsid": {
  5370. "description": "现货品种ID",
  5371. "type": "integer"
  5372. },
  5373. "futureaccountid": {
  5374. "description": "期货资金账户",
  5375. "type": "integer"
  5376. },
  5377. "goodsgroupid": {
  5378. "description": "期货品种",
  5379. "type": "integer"
  5380. },
  5381. "marketid": {
  5382. "description": "市场ID",
  5383. "type": "integer"
  5384. },
  5385. "remark": {
  5386. "description": "备注",
  5387. "type": "string"
  5388. },
  5389. "spotaccountid": {
  5390. "description": "现货资金账户",
  5391. "type": "integer"
  5392. },
  5393. "spottradeid": {
  5394. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  5395. "type": "integer"
  5396. },
  5397. "spottradename": {
  5398. "description": "业务名称",
  5399. "type": "string"
  5400. },
  5401. "spottradeno": {
  5402. "description": "业务编号",
  5403. "type": "string"
  5404. },
  5405. "tradedate": {
  5406. "description": "交易日(yyyyMMdd)",
  5407. "type": "string"
  5408. },
  5409. "wrstandardid": {
  5410. "description": "仓单标准ID",
  5411. "type": "integer"
  5412. }
  5413. }
  5414. },
  5415. "erms3.AddSpotContractApplyReq": {
  5416. "type": "object",
  5417. "required": [
  5418. "accountid",
  5419. "areauserid",
  5420. "contractno",
  5421. "contracttype",
  5422. "customeraccountid",
  5423. "customeruserid",
  5424. "details",
  5425. "orimargin",
  5426. "signdate"
  5427. ],
  5428. "properties": {
  5429. "accountid": {
  5430. "description": "资金账户ID",
  5431. "type": "integer"
  5432. },
  5433. "areauserid": {
  5434. "description": "所属机构",
  5435. "type": "integer"
  5436. },
  5437. "contractattachment": {
  5438. "description": "合同附件",
  5439. "type": "string"
  5440. },
  5441. "contractno": {
  5442. "description": "现货合同编号",
  5443. "type": "string"
  5444. },
  5445. "contracttype": {
  5446. "description": "现货合同类型 - 1:采购 -1:销售",
  5447. "type": "integer"
  5448. },
  5449. "creatorid": {
  5450. "description": "申请人",
  5451. "type": "integer"
  5452. },
  5453. "customeraccountid": {
  5454. "description": "客户资金账户ID",
  5455. "type": "integer"
  5456. },
  5457. "customeruserid": {
  5458. "description": "客户ID",
  5459. "type": "integer"
  5460. },
  5461. "details": {
  5462. "description": "明细",
  5463. "type": "array",
  5464. "items": {
  5465. "$ref": "#/definitions/erms3.SoptContractDetail"
  5466. }
  5467. },
  5468. "orimargin": {
  5469. "description": "初始保证金",
  5470. "type": "number"
  5471. },
  5472. "remark": {
  5473. "description": "备注",
  5474. "type": "string"
  5475. },
  5476. "signdate": {
  5477. "description": "签订日期",
  5478. "type": "string"
  5479. }
  5480. }
  5481. },
  5482. "erms3.AddSpotContractApplyRsp": {
  5483. "type": "object",
  5484. "required": [
  5485. "contractno"
  5486. ],
  5487. "properties": {
  5488. "contractno": {
  5489. "description": "现货合同编号",
  5490. "type": "string"
  5491. },
  5492. "spotcontractid": {
  5493. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  5494. "type": "integer"
  5495. }
  5496. }
  5497. },
  5498. "erms3.AddUserInfoApplyReq": {
  5499. "type": "object",
  5500. "required": [
  5501. "userid"
  5502. ],
  5503. "properties": {
  5504. "accountid": {
  5505. "description": "交易系统帐号Id (加密存储)",
  5506. "type": "integer"
  5507. },
  5508. "areacode": {
  5509. "description": "机构代码",
  5510. "type": "string"
  5511. },
  5512. "areaid": {
  5513. "description": "机构Id",
  5514. "type": "integer"
  5515. },
  5516. "attachment1": {
  5517. "description": "附件1",
  5518. "type": "string"
  5519. },
  5520. "attachment2": {
  5521. "description": "附件2",
  5522. "type": "string"
  5523. },
  5524. "attachment3": {
  5525. "description": "附件3",
  5526. "type": "string"
  5527. },
  5528. "attachment4": {
  5529. "description": "附件4",
  5530. "type": "string"
  5531. },
  5532. "attachment5": {
  5533. "description": "附件5",
  5534. "type": "string"
  5535. },
  5536. "auditedby": {
  5537. "description": "审核人",
  5538. "type": "string"
  5539. },
  5540. "auditime": {
  5541. "description": "审核时间",
  5542. "type": "string"
  5543. },
  5544. "bankaccount": {
  5545. "description": "银行帐号 (加密存储)",
  5546. "type": "string"
  5547. },
  5548. "bankaccountname": {
  5549. "description": "收款人名称",
  5550. "type": "string"
  5551. },
  5552. "bankcardbackphotourl": {
  5553. "description": "银行卡背面照地址",
  5554. "type": "string"
  5555. },
  5556. "bankcardfrontphotourl": {
  5557. "description": "银行卡正面照地址",
  5558. "type": "string"
  5559. },
  5560. "bankid": {
  5561. "description": "银行编码",
  5562. "type": "string"
  5563. },
  5564. "bankname": {
  5565. "description": "银行名称",
  5566. "type": "string"
  5567. },
  5568. "bankpictureurl": {
  5569. "description": "银行卡正面地址",
  5570. "type": "string"
  5571. },
  5572. "biznature": {
  5573. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5574. "type": "integer"
  5575. },
  5576. "bizscope": {
  5577. "description": "企业经营范围(企业)",
  5578. "type": "string"
  5579. },
  5580. "biztype": {
  5581. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  5582. "type": "integer"
  5583. },
  5584. "brokerid": {
  5585. "description": "经纪人ID(加密存储)",
  5586. "type": "string"
  5587. },
  5588. "cardaddress": {
  5589. "description": "证件地址 (加密存储)",
  5590. "type": "string"
  5591. },
  5592. "cardbackphotourl": {
  5593. "description": "背面证件照地址",
  5594. "type": "string"
  5595. },
  5596. "cardfrontphotourl": {
  5597. "description": "正面证件照地址",
  5598. "type": "string"
  5599. },
  5600. "cardnum": {
  5601. "description": "证件号码 (加密存储)",
  5602. "type": "string"
  5603. },
  5604. "cardtype": {
  5605. "description": "证件类型",
  5606. "type": "integer"
  5607. },
  5608. "cityid": {
  5609. "description": "市",
  5610. "type": "integer"
  5611. },
  5612. "company": {
  5613. "description": "公司(个人)",
  5614. "type": "string"
  5615. },
  5616. "contactcardbackphotourl": {
  5617. "description": "联系人证件背面图片地址",
  5618. "type": "string"
  5619. },
  5620. "contactcardfrontphotourl": {
  5621. "description": "联系人证件正面图片地址",
  5622. "type": "string"
  5623. },
  5624. "contactname": {
  5625. "description": "联系人",
  5626. "type": "string"
  5627. },
  5628. "countryid": {
  5629. "description": "国家",
  5630. "type": "integer"
  5631. },
  5632. "createtime": {
  5633. "description": "开户申请时间",
  5634. "type": "string"
  5635. },
  5636. "cusbankid": {
  5637. "description": "签约类型",
  5638. "type": "string"
  5639. },
  5640. "cusbankname": {
  5641. "description": "签约类型名称",
  5642. "type": "string"
  5643. },
  5644. "customername": {
  5645. "description": "客户名称(企业名称)",
  5646. "type": "string"
  5647. },
  5648. "districtid": {
  5649. "description": "地区",
  5650. "type": "integer"
  5651. },
  5652. "email": {
  5653. "description": "Email地址(加密存储)",
  5654. "type": "string"
  5655. },
  5656. "halfbodyphotourl": {
  5657. "description": "半身照地址",
  5658. "type": "string"
  5659. },
  5660. "headurl": {
  5661. "description": "头像地址",
  5662. "type": "string"
  5663. },
  5664. "ipaddress": {
  5665. "description": "IP地址",
  5666. "type": "string"
  5667. },
  5668. "isvalidate": {
  5669. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  5670. "type": "string"
  5671. },
  5672. "legalcardbackphotourl": {
  5673. "description": "法人身份证背面照地址",
  5674. "type": "string"
  5675. },
  5676. "legalcardfrontphotourl": {
  5677. "description": "法人身份证正面照地址",
  5678. "type": "string"
  5679. },
  5680. "legalpersonname": {
  5681. "description": "法人姓名(企业)",
  5682. "type": "string"
  5683. },
  5684. "logincode": {
  5685. "description": "登录帐号 (加密存储)",
  5686. "type": "string"
  5687. },
  5688. "memberareaid": {
  5689. "description": "所属会员ID",
  5690. "type": "integer"
  5691. },
  5692. "mobile2": {
  5693. "description": "手机号码[明文-尚志]",
  5694. "type": "string"
  5695. },
  5696. "mobilephone": {
  5697. "description": "手机号码 (加密存储)",
  5698. "type": "string"
  5699. },
  5700. "modifiedby": {
  5701. "description": "修改人帐号",
  5702. "type": "integer"
  5703. },
  5704. "modifiedtime": {
  5705. "description": "修改时间",
  5706. "type": "string"
  5707. },
  5708. "nickname": {
  5709. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  5710. "type": "string"
  5711. },
  5712. "openmode": {
  5713. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  5714. "type": "integer"
  5715. },
  5716. "otherurl": {
  5717. "description": "其它图片地址[使用分号分隔]",
  5718. "type": "string"
  5719. },
  5720. "postalcode": {
  5721. "description": "邮政编码",
  5722. "type": "string"
  5723. },
  5724. "provinceid": {
  5725. "description": "省",
  5726. "type": "integer"
  5727. },
  5728. "proxystatementurl": {
  5729. "description": "授权委托书",
  5730. "type": "string"
  5731. },
  5732. "qq": {
  5733. "description": "QQ(加密存储",
  5734. "type": "string"
  5735. },
  5736. "referral": {
  5737. "description": "推荐人编码",
  5738. "type": "string"
  5739. },
  5740. "remark": {
  5741. "description": "备注",
  5742. "type": "string"
  5743. },
  5744. "removebeforestatus": {
  5745. "description": "REMOVEBEFORESTATUS",
  5746. "type": "integer"
  5747. },
  5748. "sex": {
  5749. "description": "性别 - 0:女 1:男",
  5750. "type": "integer"
  5751. },
  5752. "signedstatus": {
  5753. "description": "账户一号签签约状态",
  5754. "type": "integer"
  5755. },
  5756. "signpdfurl": {
  5757. "description": "签约pdf文件",
  5758. "type": "string"
  5759. },
  5760. "subbranch": {
  5761. "description": "开户支行",
  5762. "type": "string"
  5763. },
  5764. "telphone": {
  5765. "description": "联系电话(加密存储)",
  5766. "type": "string"
  5767. },
  5768. "userid": {
  5769. "description": "用户ID(自增ID)",
  5770. "type": "integer"
  5771. },
  5772. "userinfotype": {
  5773. "description": "用户信息类型 - 1:个人 2:企业",
  5774. "type": "integer"
  5775. },
  5776. "username": {
  5777. "description": "用户姓名",
  5778. "type": "string"
  5779. },
  5780. "userstate": {
  5781. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5782. "type": "integer"
  5783. },
  5784. "usertype": {
  5785. "description": "用户类型 - 1:投资者 2:机构",
  5786. "type": "integer"
  5787. },
  5788. "videourl": {
  5789. "description": "视频地址",
  5790. "type": "string"
  5791. },
  5792. "wechat": {
  5793. "description": "微信号 (加密存储)",
  5794. "type": "string"
  5795. }
  5796. }
  5797. },
  5798. "erms3.CustomerInfo": {
  5799. "type": "object",
  5800. "required": [
  5801. "userid"
  5802. ],
  5803. "properties": {
  5804. "accountids": {
  5805. "description": "资金账户ID列表",
  5806. "type": "array",
  5807. "items": {
  5808. "type": "integer"
  5809. }
  5810. },
  5811. "customername": {
  5812. "description": "名称(企业名称)",
  5813. "type": "string"
  5814. },
  5815. "mobile": {
  5816. "description": "手机号码",
  5817. "type": "string"
  5818. },
  5819. "userid": {
  5820. "description": "用户ID",
  5821. "type": "integer"
  5822. }
  5823. }
  5824. },
  5825. "erms3.QryAuditContractRsp": {
  5826. "type": "object",
  5827. "required": [
  5828. "matchcustomername",
  5829. "spotcontractid"
  5830. ],
  5831. "properties": {
  5832. "accountid": {
  5833. "description": "交易员ID",
  5834. "type": "string"
  5835. },
  5836. "applystatus": {
  5837. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5838. "type": "integer"
  5839. },
  5840. "curdeliveryqty": {
  5841. "description": "未交收量",
  5842. "type": "integer"
  5843. },
  5844. "customername": {
  5845. "description": "采购方ID",
  5846. "type": "string"
  5847. },
  5848. "deliverygoodsid": {
  5849. "description": "品种ID",
  5850. "type": "string"
  5851. },
  5852. "deliveryqty": {
  5853. "description": "交收量",
  5854. "type": "integer"
  5855. },
  5856. "enumdicname": {
  5857. "description": "单位名称",
  5858. "type": "string"
  5859. },
  5860. "matchaccountid": {
  5861. "description": "业务员ID",
  5862. "type": "string"
  5863. },
  5864. "matchcustomername": {
  5865. "description": "销售方ID",
  5866. "type": "string"
  5867. },
  5868. "pricedqty": {
  5869. "description": "定价量",
  5870. "type": "number"
  5871. },
  5872. "signdate": {
  5873. "description": "签订日期",
  5874. "type": "string"
  5875. },
  5876. "spotcontractid": {
  5877. "description": "合同ID",
  5878. "type": "string"
  5879. },
  5880. "totaldqty": {
  5881. "description": "合同量",
  5882. "type": "number"
  5883. },
  5884. "unpricedqty": {
  5885. "description": "未定价量",
  5886. "type": "number"
  5887. },
  5888. "wrstandardname": {
  5889. "description": "商品名称",
  5890. "type": "string"
  5891. }
  5892. }
  5893. },
  5894. "erms3.QryPendingBizRsp": {
  5895. "type": "object",
  5896. "properties": {
  5897. "accountid": {
  5898. "description": "现货账户",
  5899. "type": "string"
  5900. },
  5901. "areaname": {
  5902. "description": "所属部门",
  5903. "type": "string"
  5904. },
  5905. "bizid": {
  5906. "description": "业务ID",
  5907. "type": "string"
  5908. },
  5909. "bizname": {
  5910. "description": "业务名称",
  5911. "type": "string"
  5912. },
  5913. "status": {
  5914. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5915. "type": "integer"
  5916. },
  5917. "type": {
  5918. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  5919. "type": "integer"
  5920. }
  5921. }
  5922. },
  5923. "erms3.QueryBusinessInfoRsp": {
  5924. "type": "object",
  5925. "properties": {
  5926. "businessid": {
  5927. "description": "业务ID.",
  5928. "type": "integer"
  5929. },
  5930. "buyamount": {
  5931. "description": "采购额.",
  5932. "type": "number"
  5933. },
  5934. "buyqty": {
  5935. "description": "采购量.",
  5936. "type": "string"
  5937. },
  5938. "futurepl": {
  5939. "description": "期货盈亏.",
  5940. "type": "number"
  5941. },
  5942. "futureqty": {
  5943. "description": "期货敞口.",
  5944. "type": "string"
  5945. },
  5946. "goodsid": {
  5947. "description": "商品名称/商品代码.",
  5948. "type": "string"
  5949. },
  5950. "hedgingqty": {
  5951. "description": "套保量.",
  5952. "type": "string"
  5953. },
  5954. "sellamount": {
  5955. "description": "销售额.",
  5956. "type": "number"
  5957. },
  5958. "sellqty": {
  5959. "description": "销售量.",
  5960. "type": "string"
  5961. },
  5962. "spotmarketvalue": {
  5963. "description": "现货市值.",
  5964. "type": "number"
  5965. },
  5966. "spotpl": {
  5967. "description": "浮动权益.",
  5968. "type": "number"
  5969. },
  5970. "spotqty": {
  5971. "description": "现货量.",
  5972. "type": "string"
  5973. },
  5974. "statu": {
  5975. "description": "状态,0-未结束 1-已结束.",
  5976. "type": "integer"
  5977. },
  5978. "totalpl": {
  5979. "description": "总盈亏.",
  5980. "type": "number"
  5981. },
  5982. "totalqty": {
  5983. "description": "总敞口.",
  5984. "type": "string"
  5985. },
  5986. "type": {
  5987. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  5988. "type": "integer"
  5989. }
  5990. }
  5991. },
  5992. "erms3.QuerySpotContractAppleFormRsp": {
  5993. "type": "object",
  5994. "properties": {
  5995. "goodses": {
  5996. "description": "合约列表",
  5997. "type": "array",
  5998. "items": {
  5999. "$ref": "#/definitions/models.GoodsIDAndName"
  6000. }
  6001. },
  6002. "oppositeusers": {
  6003. "description": "对方账号列表",
  6004. "type": "array",
  6005. "items": {
  6006. "$ref": "#/definitions/erms3.CustomerInfo"
  6007. }
  6008. },
  6009. "ouruser": {
  6010. "description": "我方账号",
  6011. "$ref": "#/definitions/erms3.CustomerInfo"
  6012. },
  6013. "warehouseinfos": {
  6014. "description": "仓库信息列表",
  6015. "type": "array",
  6016. "items": {
  6017. "$ref": "#/definitions/models.Warehouseinfo"
  6018. }
  6019. },
  6020. "wrstandards": {
  6021. "description": "仓单标准列表",
  6022. "type": "array",
  6023. "items": {
  6024. "$ref": "#/definitions/models.WRStandardInfo"
  6025. }
  6026. }
  6027. }
  6028. },
  6029. "erms3.QuerySpotContractInfoRsp": {
  6030. "type": "object",
  6031. "properties": {
  6032. "accountid": {
  6033. "description": "表示交易员ID.",
  6034. "type": "integer"
  6035. },
  6036. "curdeliveryqty": {
  6037. "description": "表示未交收量.",
  6038. "type": "number"
  6039. },
  6040. "customername": {
  6041. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  6042. "type": "string"
  6043. },
  6044. "deliverygoodsid": {
  6045. "description": "表示品种ID.",
  6046. "type": "string"
  6047. },
  6048. "deliveryqty": {
  6049. "description": "表示交收量.",
  6050. "type": "number"
  6051. },
  6052. "matchaccountid": {
  6053. "description": "表示业务员ID.",
  6054. "type": "integer"
  6055. },
  6056. "matchcustomername": {
  6057. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  6058. "type": "string"
  6059. },
  6060. "priceqty": {
  6061. "description": "表示定价量.",
  6062. "type": "number"
  6063. },
  6064. "relatedbizid": {
  6065. "description": "表示业务ID.",
  6066. "type": "string"
  6067. },
  6068. "signdate": {
  6069. "description": "表示签订日期.",
  6070. "type": "string"
  6071. },
  6072. "spotcontractid": {
  6073. "description": "合同ID",
  6074. "type": "string"
  6075. },
  6076. "status": {
  6077. "description": "表示状态,0-履约中 1-已完成.",
  6078. "type": "integer"
  6079. },
  6080. "totalqty": {
  6081. "description": "表示合同量.",
  6082. "type": "number"
  6083. },
  6084. "unpricedqty": {
  6085. "description": "表示未定价量.",
  6086. "type": "number"
  6087. },
  6088. "wrstandardname": {
  6089. "description": "表示商品ID.",
  6090. "type": "string"
  6091. }
  6092. }
  6093. },
  6094. "erms3.QueryUserInfoAppliesRsp": {
  6095. "type": "object",
  6096. "required": [
  6097. "userid"
  6098. ],
  6099. "properties": {
  6100. "biznature": {
  6101. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6102. "type": "integer"
  6103. },
  6104. "contactname": {
  6105. "description": "联系人",
  6106. "type": "string"
  6107. },
  6108. "createtime": {
  6109. "description": "开户申请时间",
  6110. "type": "string"
  6111. },
  6112. "userid": {
  6113. "description": "用户ID(自增ID)",
  6114. "type": "integer"
  6115. },
  6116. "userinfotype": {
  6117. "description": "用户信息类型 - 1:个人 2:企业",
  6118. "type": "integer"
  6119. },
  6120. "username": {
  6121. "description": "用户姓名",
  6122. "type": "string"
  6123. },
  6124. "userstate": {
  6125. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6126. "type": "integer"
  6127. }
  6128. }
  6129. },
  6130. "erms3.QueryUserInfosRsp": {
  6131. "type": "object",
  6132. "required": [
  6133. "userid"
  6134. ],
  6135. "properties": {
  6136. "biznature": {
  6137. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6138. "type": "integer"
  6139. },
  6140. "contactname": {
  6141. "description": "联系人",
  6142. "type": "string"
  6143. },
  6144. "customername": {
  6145. "description": "客户名称(企业名称)",
  6146. "type": "string"
  6147. },
  6148. "userid": {
  6149. "description": "用户ID",
  6150. "type": "integer"
  6151. },
  6152. "userinfotype": {
  6153. "description": "用户信息类型 - 1:个人 2:企业",
  6154. "type": "integer"
  6155. },
  6156. "userstatus": {
  6157. "description": "用户状态 - 1:正常 2:注销",
  6158. "type": "integer"
  6159. }
  6160. }
  6161. },
  6162. "erms3.SoptContractDetail": {
  6163. "type": "object",
  6164. "required": [
  6165. "deliverygoodsid",
  6166. "producttype",
  6167. "unitname",
  6168. "warehouseid",
  6169. "wrstandardid",
  6170. "wrstandardname"
  6171. ],
  6172. "properties": {
  6173. "deliverygoodsdesc": {
  6174. "description": "现货品种说明",
  6175. "type": "string"
  6176. },
  6177. "deliverygoodsid": {
  6178. "description": "现货品种ID",
  6179. "type": "integer"
  6180. },
  6181. "deliverygoodsname": {
  6182. "description": "现货品种名称",
  6183. "type": "string"
  6184. },
  6185. "pointdesc": {
  6186. "description": "点价描述",
  6187. "type": "string"
  6188. },
  6189. "producttype": {
  6190. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  6191. "type": "integer"
  6192. },
  6193. "producttypename": {
  6194. "description": "产品类型名称",
  6195. "type": "string"
  6196. },
  6197. "spotPointOrderVoList": {
  6198. "description": "点价列表",
  6199. "type": "array",
  6200. "items": {
  6201. "$ref": "#/definitions/erms3.SpotPointOrder"
  6202. }
  6203. },
  6204. "spotPriceOrderList": {
  6205. "description": "定价列表",
  6206. "type": "array",
  6207. "items": {
  6208. "$ref": "#/definitions/erms3.SpotPriceOrder"
  6209. }
  6210. },
  6211. "unitname": {
  6212. "description": "单位名称",
  6213. "type": "string"
  6214. },
  6215. "warehouseid": {
  6216. "description": "仓库ID",
  6217. "type": "integer"
  6218. },
  6219. "warehousename": {
  6220. "description": "仓库名称",
  6221. "type": "string"
  6222. },
  6223. "wrstandardid": {
  6224. "description": "交易标的ID",
  6225. "type": "integer"
  6226. },
  6227. "wrstandardname": {
  6228. "description": "交易标的名称",
  6229. "type": "string"
  6230. }
  6231. }
  6232. },
  6233. "erms3.SpotPointOrder": {
  6234. "type": "object",
  6235. "required": [
  6236. "basic",
  6237. "goodsid",
  6238. "qty"
  6239. ],
  6240. "properties": {
  6241. "basic": {
  6242. "description": "基差",
  6243. "type": "number"
  6244. },
  6245. "deliveryenddate": {
  6246. "description": "交收结束日期",
  6247. "type": "string"
  6248. },
  6249. "deliverystartdate": {
  6250. "description": "交收开始日期",
  6251. "type": "string"
  6252. },
  6253. "enddate": {
  6254. "description": "点价结束日期",
  6255. "type": "string"
  6256. },
  6257. "goodsid": {
  6258. "description": "商品ID",
  6259. "type": "integer"
  6260. },
  6261. "goodsname": {
  6262. "description": "商品名称",
  6263. "type": "string"
  6264. },
  6265. "qty": {
  6266. "description": "数量",
  6267. "type": "number"
  6268. },
  6269. "startdate": {
  6270. "description": "点价开始日期",
  6271. "type": "string"
  6272. }
  6273. }
  6274. },
  6275. "erms3.SpotPriceOrder": {
  6276. "type": "object",
  6277. "required": [
  6278. "amount",
  6279. "price",
  6280. "qty"
  6281. ],
  6282. "properties": {
  6283. "amount": {
  6284. "description": "金额",
  6285. "type": "number"
  6286. },
  6287. "deliveryenddate": {
  6288. "description": "交收结束日期",
  6289. "type": "string"
  6290. },
  6291. "deliverystartdate": {
  6292. "description": "交收开始日期",
  6293. "type": "string"
  6294. },
  6295. "price": {
  6296. "description": "价格",
  6297. "type": "number"
  6298. },
  6299. "qty": {
  6300. "description": "数量",
  6301. "type": "number"
  6302. }
  6303. }
  6304. },
  6305. "hsby.GetHsbyMyCountRsp": {
  6306. "type": "object",
  6307. "properties": {
  6308. "myOrderDetailListingCount": {
  6309. "description": "我的订单求购中数量",
  6310. "type": "integer"
  6311. },
  6312. "myOrderDetailPreCount": {
  6313. "description": "我的订单抢购中数量",
  6314. "type": "integer"
  6315. },
  6316. "myPackageUnReceiveCount": {
  6317. "description": "我的包裹待收货数量",
  6318. "type": "integer"
  6319. },
  6320. "myPackageUnSendCount": {
  6321. "description": "我的包裹待发货数量",
  6322. "type": "integer"
  6323. },
  6324. "myPayOrderCount": {
  6325. "description": "我的订单待付款数量",
  6326. "type": "integer"
  6327. }
  6328. }
  6329. },
  6330. "hsby.QueryProvincesAndCitiesRsp": {
  6331. "type": "object",
  6332. "properties": {
  6333. "cities": {
  6334. "description": "市",
  6335. "type": "array",
  6336. "items": {
  6337. "$ref": "#/definitions/models.Division"
  6338. }
  6339. },
  6340. "province": {
  6341. "description": "省",
  6342. "$ref": "#/definitions/models.Division"
  6343. }
  6344. }
  6345. },
  6346. "models.Division": {
  6347. "type": "object",
  6348. "required": [
  6349. "autoid",
  6350. "divisioncode"
  6351. ],
  6352. "properties": {
  6353. "autoid": {
  6354. "description": "自增ID",
  6355. "type": "integer"
  6356. },
  6357. "divisioncode": {
  6358. "description": "行政代码",
  6359. "type": "string"
  6360. },
  6361. "divisionlevel": {
  6362. "description": "行政级别",
  6363. "type": "string"
  6364. },
  6365. "divisionname": {
  6366. "description": "行政名称",
  6367. "type": "string"
  6368. },
  6369. "modifierid": {
  6370. "description": "修改人",
  6371. "type": "integer"
  6372. },
  6373. "modifytime": {
  6374. "description": "修改时间",
  6375. "type": "string"
  6376. },
  6377. "parentcode": {
  6378. "description": "上级行政代码",
  6379. "type": "string"
  6380. },
  6381. "pathname": {
  6382. "description": "路径名称",
  6383. "type": "string"
  6384. },
  6385. "postcode": {
  6386. "description": "邮政编码",
  6387. "type": "string"
  6388. },
  6389. "separablename": {
  6390. "description": "可拆分的全称",
  6391. "type": "string"
  6392. },
  6393. "shortcode": {
  6394. "description": "地区简码",
  6395. "type": "string"
  6396. }
  6397. }
  6398. },
  6399. "models.Enumdicitem": {
  6400. "type": "object",
  6401. "required": [
  6402. "autoid",
  6403. "enumdiccode",
  6404. "enumdicid",
  6405. "enumitemname"
  6406. ],
  6407. "properties": {
  6408. "autoid": {
  6409. "description": "自增ID",
  6410. "type": "integer"
  6411. },
  6412. "bankmappedvalue": {
  6413. "description": "银行服务对应值",
  6414. "type": "string"
  6415. },
  6416. "enumdiccode": {
  6417. "description": "所属枚举代码",
  6418. "type": "string"
  6419. },
  6420. "enumdicid": {
  6421. "description": "所属枚举ID",
  6422. "type": "integer"
  6423. },
  6424. "enumdicname": {
  6425. "description": "枚举项名称",
  6426. "type": "string"
  6427. },
  6428. "enumitemname": {
  6429. "description": "枚举项值",
  6430. "type": "integer"
  6431. },
  6432. "enumitemstatus": {
  6433. "description": "枚举项状态 - 1.启用 2.不启用",
  6434. "type": "integer"
  6435. },
  6436. "enumitemvalue": {
  6437. "description": "通用值 - [币种通用简写]",
  6438. "type": "string"
  6439. },
  6440. "param1": {
  6441. "description": "参数1[币种:币种小数位]",
  6442. "type": "string"
  6443. },
  6444. "param2": {
  6445. "description": "参数1[币种:币种显示单位]",
  6446. "type": "string"
  6447. },
  6448. "remark": {
  6449. "description": "备注",
  6450. "type": "string"
  6451. }
  6452. }
  6453. },
  6454. "models.GoodsIDAndName": {
  6455. "type": "object",
  6456. "required": [
  6457. "goodscode",
  6458. "goodsid",
  6459. "goodsname",
  6460. "marketid"
  6461. ],
  6462. "properties": {
  6463. "goodscode": {
  6464. "description": "商品代码(内部)",
  6465. "type": "string"
  6466. },
  6467. "goodsid": {
  6468. "description": "商品ID(自增ID SEQ_GOODS)",
  6469. "type": "integer"
  6470. },
  6471. "goodsname": {
  6472. "description": "商品名称",
  6473. "type": "string"
  6474. },
  6475. "marketid": {
  6476. "description": "所属市场ID",
  6477. "type": "integer"
  6478. }
  6479. }
  6480. },
  6481. "models.HsbyBuyMyPayOrder": {
  6482. "type": "object",
  6483. "required": [
  6484. "goodscode",
  6485. "goodsname",
  6486. "tradeid",
  6487. "trademode"
  6488. ],
  6489. "properties": {
  6490. "agreeunit": {
  6491. "description": "合约单位",
  6492. "type": "number"
  6493. },
  6494. "buyaccountid": {
  6495. "description": "买方账号ID[报价币种]",
  6496. "type": "integer"
  6497. },
  6498. "buyorderid": {
  6499. "description": "买方委托单号",
  6500. "type": "string"
  6501. },
  6502. "createtime": {
  6503. "description": "创建时间",
  6504. "type": "string"
  6505. },
  6506. "currencysign": {
  6507. "description": "货币符号",
  6508. "type": "string"
  6509. },
  6510. "decimalplace": {
  6511. "description": "报价小数位",
  6512. "type": "integer"
  6513. },
  6514. "goodscode": {
  6515. "description": "商品代码(内部)",
  6516. "type": "string"
  6517. },
  6518. "goodsid": {
  6519. "description": "商品ID",
  6520. "type": "integer"
  6521. },
  6522. "goodsname": {
  6523. "description": "商品名称",
  6524. "type": "string"
  6525. },
  6526. "marketid": {
  6527. "description": "市场ID",
  6528. "type": "integer"
  6529. },
  6530. "offamount": {
  6531. "description": "优惠金额",
  6532. "type": "number"
  6533. },
  6534. "payamount": {
  6535. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  6536. "type": "number"
  6537. },
  6538. "payflag": {
  6539. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  6540. "type": "integer"
  6541. },
  6542. "paylimitedtime": {
  6543. "description": "支付期限",
  6544. "type": "string"
  6545. },
  6546. "paytime": {
  6547. "description": "付款时间",
  6548. "type": "string"
  6549. },
  6550. "picurls1": {
  6551. "description": "预售商品介绍图片[多张用逗号分隔]",
  6552. "type": "string"
  6553. },
  6554. "picurls2": {
  6555. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6556. "type": "string"
  6557. },
  6558. "sellaccountid": {
  6559. "description": "卖方账号ID[报价币种]",
  6560. "type": "integer"
  6561. },
  6562. "sellorderid": {
  6563. "description": "卖方委托单号",
  6564. "type": "string"
  6565. },
  6566. "tradeamount": {
  6567. "description": "成交金额",
  6568. "type": "number"
  6569. },
  6570. "tradecharge": {
  6571. "description": "成交手续费(买方)",
  6572. "type": "number"
  6573. },
  6574. "tradedate": {
  6575. "description": "交易日(yyyyMMdd)",
  6576. "type": "string"
  6577. },
  6578. "tradeid": {
  6579. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6580. "type": "string"
  6581. },
  6582. "trademode": {
  6583. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6584. "type": "integer"
  6585. },
  6586. "tradeprice": {
  6587. "description": "成交价格",
  6588. "type": "number"
  6589. },
  6590. "tradeqty": {
  6591. "description": "成交数量",
  6592. "type": "integer"
  6593. },
  6594. "vendorname1": {
  6595. "description": "预售商品供应商名称",
  6596. "type": "string"
  6597. },
  6598. "vendorname2": {
  6599. "description": "挂牌商品供应商名称",
  6600. "type": "string"
  6601. }
  6602. }
  6603. },
  6604. "models.HsbyBuyMyTradeDetail": {
  6605. "type": "object",
  6606. "required": [
  6607. "accountid",
  6608. "buyorsell",
  6609. "goodscode",
  6610. "goodsid",
  6611. "goodsname",
  6612. "marketid",
  6613. "orderid",
  6614. "qty",
  6615. "time",
  6616. "trademode"
  6617. ],
  6618. "properties": {
  6619. "accountid": {
  6620. "description": "账户ID[报价币种]",
  6621. "type": "integer"
  6622. },
  6623. "agreeunit": {
  6624. "description": "合约单位",
  6625. "type": "number"
  6626. },
  6627. "amount": {
  6628. "description": "金额 = 价格 * 数量 * 合约单位",
  6629. "type": "number"
  6630. },
  6631. "buyorsell": {
  6632. "description": "买卖 - 0:买 1:卖",
  6633. "type": "integer"
  6634. },
  6635. "currencysign": {
  6636. "description": "货币符号",
  6637. "type": "string"
  6638. },
  6639. "decimalplace": {
  6640. "description": "报价小数位",
  6641. "type": "integer"
  6642. },
  6643. "goodscode": {
  6644. "description": "商品代码(内部)",
  6645. "type": "string"
  6646. },
  6647. "goodsid": {
  6648. "description": "商品ID",
  6649. "type": "integer"
  6650. },
  6651. "goodsname": {
  6652. "description": "商品名称",
  6653. "type": "string"
  6654. },
  6655. "marketid": {
  6656. "description": "市场ID",
  6657. "type": "integer"
  6658. },
  6659. "orderid": {
  6660. "description": "单号(成交单号)",
  6661. "type": "string"
  6662. },
  6663. "picurls1": {
  6664. "description": "预售商品介绍图片[多张用逗号分隔]",
  6665. "type": "string"
  6666. },
  6667. "picurls2": {
  6668. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6669. "type": "string"
  6670. },
  6671. "price": {
  6672. "description": "价格",
  6673. "type": "number"
  6674. },
  6675. "qty": {
  6676. "description": "数量",
  6677. "type": "integer"
  6678. },
  6679. "time": {
  6680. "description": "时间",
  6681. "type": "string"
  6682. },
  6683. "trademode": {
  6684. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6685. "type": "integer"
  6686. },
  6687. "vendorname1": {
  6688. "description": "预售商品供应商名称",
  6689. "type": "string"
  6690. },
  6691. "vendorname2": {
  6692. "description": "挂牌商品供应商名称",
  6693. "type": "string"
  6694. }
  6695. }
  6696. },
  6697. "models.HsbyGoodsOrderDetail": {
  6698. "type": "object",
  6699. "required": [
  6700. "buyorsell",
  6701. "orderid",
  6702. "ordertime"
  6703. ],
  6704. "properties": {
  6705. "buyorsell": {
  6706. "description": "买卖 - 0:买 1:卖",
  6707. "type": "integer"
  6708. },
  6709. "currencysign": {
  6710. "description": "货币符号",
  6711. "type": "string"
  6712. },
  6713. "customername": {
  6714. "description": "客户名称(企业名称),已脱敏",
  6715. "type": "string"
  6716. },
  6717. "enableqty": {
  6718. "description": "可用数量",
  6719. "type": "integer"
  6720. },
  6721. "goodunit": {
  6722. "description": "报价单位",
  6723. "type": "string"
  6724. },
  6725. "orderid": {
  6726. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6727. "type": "string"
  6728. },
  6729. "orderprice": {
  6730. "description": "委托价格",
  6731. "type": "number"
  6732. },
  6733. "ordertime": {
  6734. "description": "委托时间",
  6735. "type": "string"
  6736. }
  6737. }
  6738. },
  6739. "models.HsbyListingGoodsDetail": {
  6740. "type": "object",
  6741. "required": [
  6742. "goodscode",
  6743. "goodsid",
  6744. "goodsname",
  6745. "marketid",
  6746. "trademode"
  6747. ],
  6748. "properties": {
  6749. "agreeunit": {
  6750. "description": "合约单位",
  6751. "type": "number"
  6752. },
  6753. "currency": {
  6754. "description": "货币",
  6755. "type": "string"
  6756. },
  6757. "currencysign": {
  6758. "description": "货币符号",
  6759. "type": "string"
  6760. },
  6761. "decimalplace": {
  6762. "description": "报价小数位",
  6763. "type": "integer"
  6764. },
  6765. "desccityid": {
  6766. "description": "目的地(市)ID",
  6767. "type": "integer"
  6768. },
  6769. "descprovinceid": {
  6770. "description": "目的地(省)ID",
  6771. "type": "integer"
  6772. },
  6773. "goodscode": {
  6774. "description": "商品代码(内部)",
  6775. "type": "string"
  6776. },
  6777. "goodsdesc": {
  6778. "description": "商品详情",
  6779. "type": "string"
  6780. },
  6781. "goodsid": {
  6782. "description": "商品ID(自增ID SEQ_GOODS)",
  6783. "type": "integer"
  6784. },
  6785. "goodsname": {
  6786. "description": "商品名称",
  6787. "type": "string"
  6788. },
  6789. "hotindex": {
  6790. "description": "景点热度",
  6791. "type": "integer"
  6792. },
  6793. "last": {
  6794. "description": "现价",
  6795. "type": "number"
  6796. },
  6797. "limitdown": {
  6798. "description": "跌停价",
  6799. "type": "number"
  6800. },
  6801. "limitup": {
  6802. "description": "涨停价",
  6803. "type": "number"
  6804. },
  6805. "lotsize": {
  6806. "description": "手数最小变动单位",
  6807. "type": "integer"
  6808. },
  6809. "marketid": {
  6810. "description": "所属市场ID",
  6811. "type": "integer"
  6812. },
  6813. "picurls": {
  6814. "description": "介绍图片[多张用逗号分隔]",
  6815. "type": "string"
  6816. },
  6817. "quoteminunit": {
  6818. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6819. "type": "integer"
  6820. },
  6821. "stepvalue": {
  6822. "description": "价格最小变动单位",
  6823. "type": "number"
  6824. },
  6825. "trademode": {
  6826. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6827. "type": "integer"
  6828. },
  6829. "vendorattr": {
  6830. "description": "供应商附件(多张,逗号分隔)",
  6831. "type": "string"
  6832. },
  6833. "vendorname": {
  6834. "description": "供应商名称",
  6835. "type": "string"
  6836. },
  6837. "vendorphone": {
  6838. "description": "供应商客服电话",
  6839. "type": "string"
  6840. },
  6841. "videourls": {
  6842. "description": "介绍视频[多张用逗号分隔]",
  6843. "type": "string"
  6844. }
  6845. }
  6846. },
  6847. "models.HsbyMarketGoods": {
  6848. "type": "object",
  6849. "required": [
  6850. "accountid",
  6851. "buyorsell",
  6852. "goodscode",
  6853. "goodsid",
  6854. "goodsname",
  6855. "marketid",
  6856. "orderid",
  6857. "orderqty",
  6858. "trademode"
  6859. ],
  6860. "properties": {
  6861. "accountid": {
  6862. "description": "账户ID[报价币种]",
  6863. "type": "integer"
  6864. },
  6865. "agreeunit": {
  6866. "description": "合约单位",
  6867. "type": "number"
  6868. },
  6869. "buyorsell": {
  6870. "description": "买卖 - 0:买 1:卖",
  6871. "type": "integer"
  6872. },
  6873. "cancelqty": {
  6874. "description": "撤单数量",
  6875. "type": "integer"
  6876. },
  6877. "categoryid": {
  6878. "description": "类别ID(WRCATEGORY)",
  6879. "type": "integer"
  6880. },
  6881. "currency": {
  6882. "description": "货币",
  6883. "type": "string"
  6884. },
  6885. "currencysign": {
  6886. "description": "货币符号",
  6887. "type": "string"
  6888. },
  6889. "decimalplace": {
  6890. "description": "报价小数位",
  6891. "type": "integer"
  6892. },
  6893. "goodscode": {
  6894. "description": "商品代码(内部)",
  6895. "type": "string"
  6896. },
  6897. "goodsid": {
  6898. "description": "商品ID",
  6899. "type": "integer"
  6900. },
  6901. "goodsname": {
  6902. "description": "商品名称",
  6903. "type": "string"
  6904. },
  6905. "hascoupon": {
  6906. "description": "是否可用优惠卷",
  6907. "type": "boolean"
  6908. },
  6909. "hotindex": {
  6910. "description": "景点热度",
  6911. "type": "integer"
  6912. },
  6913. "marketid": {
  6914. "description": "市场ID",
  6915. "type": "integer"
  6916. },
  6917. "orderid": {
  6918. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6919. "type": "string"
  6920. },
  6921. "orderprice": {
  6922. "description": "委托价格",
  6923. "type": "number"
  6924. },
  6925. "orderqty": {
  6926. "description": "委托数量",
  6927. "type": "integer"
  6928. },
  6929. "orderstatus": {
  6930. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6931. "type": "integer"
  6932. },
  6933. "picurls": {
  6934. "description": "介绍图片[多张用逗号分隔]",
  6935. "type": "string"
  6936. },
  6937. "quoteminunit": {
  6938. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6939. "type": "integer"
  6940. },
  6941. "sellUserID": {
  6942. "description": "卖方UserID",
  6943. "type": "integer"
  6944. },
  6945. "trademode": {
  6946. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6947. "type": "integer"
  6948. },
  6949. "tradeqty": {
  6950. "description": "成交数量",
  6951. "type": "integer"
  6952. },
  6953. "videourls": {
  6954. "description": "介绍视频[多张用逗号分隔]",
  6955. "type": "string"
  6956. }
  6957. }
  6958. },
  6959. "models.HsbyMarketInfo": {
  6960. "type": "object",
  6961. "required": [
  6962. "marketid",
  6963. "marketstatus",
  6964. "trademode"
  6965. ],
  6966. "properties": {
  6967. "marketid": {
  6968. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  6969. "type": "integer"
  6970. },
  6971. "marketname": {
  6972. "description": "市场名称",
  6973. "type": "string"
  6974. },
  6975. "marketstatus": {
  6976. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  6977. "type": "integer"
  6978. },
  6979. "trademode": {
  6980. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6981. "type": "integer"
  6982. }
  6983. }
  6984. },
  6985. "models.HsbyMyGoods": {
  6986. "type": "object",
  6987. "required": [
  6988. "accountid",
  6989. "goodscode",
  6990. "goodsid",
  6991. "goodsname"
  6992. ],
  6993. "properties": {
  6994. "accountid": {
  6995. "description": "账号Id",
  6996. "type": "integer"
  6997. },
  6998. "agreeunit": {
  6999. "description": "合约单位",
  7000. "type": "number"
  7001. },
  7002. "buyaverageprice": {
  7003. "description": "持仓均价",
  7004. "type": "number"
  7005. },
  7006. "buycurholderamount": {
  7007. "description": "买当前持仓总金额[商品币种]",
  7008. "type": "number"
  7009. },
  7010. "buycurpositionqty": {
  7011. "description": "买当前持仓总数量",
  7012. "type": "integer"
  7013. },
  7014. "currencysign": {
  7015. "description": "货币符号",
  7016. "type": "string"
  7017. },
  7018. "decimalplace": {
  7019. "description": "报价小数位",
  7020. "type": "integer"
  7021. },
  7022. "enableqty": {
  7023. "description": "可用数量",
  7024. "type": "integer"
  7025. },
  7026. "goodscode": {
  7027. "description": "商品代码(内部)",
  7028. "type": "string"
  7029. },
  7030. "goodsid": {
  7031. "description": "商品Id",
  7032. "type": "integer"
  7033. },
  7034. "goodsname": {
  7035. "description": "商品名称",
  7036. "type": "string"
  7037. },
  7038. "goodsstatus": {
  7039. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  7040. "type": "integer"
  7041. },
  7042. "picurls": {
  7043. "description": "介绍图片[多张用逗号分隔]",
  7044. "type": "string"
  7045. }
  7046. }
  7047. },
  7048. "models.HsbyMyPackage": {
  7049. "type": "object",
  7050. "required": [
  7051. "goodscode",
  7052. "goodsname",
  7053. "takeorderid"
  7054. ],
  7055. "properties": {
  7056. "accountid": {
  7057. "description": "账户ID",
  7058. "type": "integer"
  7059. },
  7060. "address": {
  7061. "description": "提货人详细地址",
  7062. "type": "string"
  7063. },
  7064. "agreeunit": {
  7065. "description": "合约单位",
  7066. "type": "number"
  7067. },
  7068. "amount": {
  7069. "description": "提货金额",
  7070. "type": "number"
  7071. },
  7072. "auditer": {
  7073. "description": "审核人",
  7074. "type": "integer"
  7075. },
  7076. "audittime": {
  7077. "description": "审核时间",
  7078. "type": "string"
  7079. },
  7080. "averageprice": {
  7081. "description": "均价",
  7082. "type": "number"
  7083. },
  7084. "cardnum": {
  7085. "description": "提货人证件号码",
  7086. "type": "string"
  7087. },
  7088. "cardtypeid": {
  7089. "description": "提货人证件类型",
  7090. "type": "integer"
  7091. },
  7092. "checkremark": {
  7093. "description": "审核备注",
  7094. "type": "string"
  7095. },
  7096. "currencysign": {
  7097. "description": "货币符号",
  7098. "type": "string"
  7099. },
  7100. "decimalplace": {
  7101. "description": "报价小数位",
  7102. "type": "integer"
  7103. },
  7104. "goodscode": {
  7105. "description": "商品代码(内部)",
  7106. "type": "string"
  7107. },
  7108. "goodsid": {
  7109. "description": "商品ID",
  7110. "type": "integer"
  7111. },
  7112. "goodsname": {
  7113. "description": "商品名称",
  7114. "type": "string"
  7115. },
  7116. "handlestatus": {
  7117. "description": "处理状态",
  7118. "type": "integer"
  7119. },
  7120. "marketid": {
  7121. "description": "市场ID",
  7122. "type": "integer"
  7123. },
  7124. "phonenum": {
  7125. "description": "提货人联系方式",
  7126. "type": "string"
  7127. },
  7128. "picurls": {
  7129. "description": "介绍图片[多张用逗号分隔]",
  7130. "type": "string"
  7131. },
  7132. "qty": {
  7133. "description": "提货数量",
  7134. "type": "number"
  7135. },
  7136. "recivername": {
  7137. "description": "提货人姓名",
  7138. "type": "string"
  7139. },
  7140. "reqtime": {
  7141. "description": "更新时间",
  7142. "type": "string"
  7143. },
  7144. "takemode": {
  7145. "description": "提货方式 - 2:自提 3:配送",
  7146. "type": "integer"
  7147. },
  7148. "takeorderid": {
  7149. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  7150. "type": "string"
  7151. },
  7152. "takeorderstatus": {
  7153. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7154. "type": "integer"
  7155. },
  7156. "takeremark": {
  7157. "description": "提货备注",
  7158. "type": "string"
  7159. },
  7160. "tradedate": {
  7161. "description": "交易日(yyyyMMdd)",
  7162. "type": "string"
  7163. },
  7164. "userid": {
  7165. "description": "用户ID",
  7166. "type": "integer"
  7167. },
  7168. "vendorname": {
  7169. "description": "供应商名称",
  7170. "type": "string"
  7171. }
  7172. }
  7173. },
  7174. "models.HsbyPreGoods": {
  7175. "type": "object",
  7176. "required": [
  7177. "goodscode",
  7178. "goodsid",
  7179. "goodsname",
  7180. "marketid",
  7181. "trademode"
  7182. ],
  7183. "properties": {
  7184. "agreeunit": {
  7185. "description": "合约单位",
  7186. "type": "number"
  7187. },
  7188. "currency": {
  7189. "description": "货币",
  7190. "type": "string"
  7191. },
  7192. "currencysign": {
  7193. "description": "货币符号",
  7194. "type": "string"
  7195. },
  7196. "decimalplace": {
  7197. "description": "报价小数位",
  7198. "type": "integer"
  7199. },
  7200. "enableqty": {
  7201. "description": "剩余数量",
  7202. "type": "integer"
  7203. },
  7204. "goodscode": {
  7205. "description": "商品代码(内部)",
  7206. "type": "string"
  7207. },
  7208. "goodsid": {
  7209. "description": "商品ID(自增ID SEQ_GOODS)",
  7210. "type": "integer"
  7211. },
  7212. "goodsname": {
  7213. "description": "商品名称",
  7214. "type": "string"
  7215. },
  7216. "goodsstatus": {
  7217. "description": "商品状态- 2:未上市 3:上市",
  7218. "type": "integer"
  7219. },
  7220. "lasttradedate": {
  7221. "description": "最后交易日期(状态:待退市)",
  7222. "type": "string"
  7223. },
  7224. "listingdate": {
  7225. "description": "交易开始日期",
  7226. "type": "string"
  7227. },
  7228. "marketid": {
  7229. "description": "所属市场ID",
  7230. "type": "integer"
  7231. },
  7232. "picurls": {
  7233. "description": "介绍图片[多张用逗号分隔]",
  7234. "type": "string"
  7235. },
  7236. "presaledqty": {
  7237. "description": "已预售量(预售结束时更新)",
  7238. "type": "integer"
  7239. },
  7240. "presaleqty": {
  7241. "description": "预售数量",
  7242. "type": "integer"
  7243. },
  7244. "quoteminunit": {
  7245. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7246. "type": "integer"
  7247. },
  7248. "refprice": {
  7249. "description": "参考价格[一口价]",
  7250. "type": "number"
  7251. },
  7252. "relatedgoodsid": {
  7253. "description": "关联交易合约ID",
  7254. "type": "integer"
  7255. },
  7256. "trademode": {
  7257. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7258. "type": "integer"
  7259. },
  7260. "videourls": {
  7261. "description": "介绍视频[多张用逗号分隔]",
  7262. "type": "string"
  7263. }
  7264. }
  7265. },
  7266. "models.HsbyPreGoodsDetail": {
  7267. "type": "object",
  7268. "required": [
  7269. "goodscode",
  7270. "goodsid",
  7271. "goodsname",
  7272. "marketid",
  7273. "trademode"
  7274. ],
  7275. "properties": {
  7276. "agreeunit": {
  7277. "description": "合约单位",
  7278. "type": "number"
  7279. },
  7280. "buymaxqty": {
  7281. "description": "购买上限 [71] - 0为不限",
  7282. "type": "integer"
  7283. },
  7284. "currency": {
  7285. "description": "货币",
  7286. "type": "string"
  7287. },
  7288. "currencysign": {
  7289. "description": "货币符号",
  7290. "type": "string"
  7291. },
  7292. "customername": {
  7293. "description": "发行单位",
  7294. "type": "string"
  7295. },
  7296. "decimalplace": {
  7297. "description": "报价小数位",
  7298. "type": "integer"
  7299. },
  7300. "desccityid": {
  7301. "description": "目的地(市)ID",
  7302. "type": "integer"
  7303. },
  7304. "descprovinceid": {
  7305. "description": "目的地(省)ID",
  7306. "type": "integer"
  7307. },
  7308. "enableqty": {
  7309. "description": "剩余数量",
  7310. "type": "integer"
  7311. },
  7312. "goodscode": {
  7313. "description": "商品代码(内部)",
  7314. "type": "string"
  7315. },
  7316. "goodsdesc": {
  7317. "description": "商品详情",
  7318. "type": "string"
  7319. },
  7320. "goodsid": {
  7321. "description": "商品ID(自增ID SEQ_GOODS)",
  7322. "type": "integer"
  7323. },
  7324. "goodsname": {
  7325. "description": "商品名称",
  7326. "type": "string"
  7327. },
  7328. "goodsstatus": {
  7329. "description": "商品状态- 2:未上市 3:上市",
  7330. "type": "integer"
  7331. },
  7332. "goodunit": {
  7333. "description": "报价单位",
  7334. "type": "string"
  7335. },
  7336. "lasttradedate": {
  7337. "description": "最后交易日期(状态:待退市)",
  7338. "type": "string"
  7339. },
  7340. "listingdate": {
  7341. "description": "交易开始日期",
  7342. "type": "string"
  7343. },
  7344. "lotsize": {
  7345. "description": "手数最小变动单位",
  7346. "type": "integer"
  7347. },
  7348. "marketid": {
  7349. "description": "所属市场ID",
  7350. "type": "integer"
  7351. },
  7352. "picurls": {
  7353. "description": "介绍图片[多张用逗号分隔]",
  7354. "type": "string"
  7355. },
  7356. "presaledqty": {
  7357. "description": "已预售量(预售结束时更新)",
  7358. "type": "integer"
  7359. },
  7360. "presaleqty": {
  7361. "description": "预售数量",
  7362. "type": "integer"
  7363. },
  7364. "quoteminunit": {
  7365. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7366. "type": "integer"
  7367. },
  7368. "refprice": {
  7369. "description": "参考价格[一口价]",
  7370. "type": "number"
  7371. },
  7372. "relatedgoodsid": {
  7373. "description": "关联交易合约ID",
  7374. "type": "integer"
  7375. },
  7376. "stepvalue": {
  7377. "description": "价格最小变动单位",
  7378. "type": "number"
  7379. },
  7380. "trademode": {
  7381. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7382. "type": "integer"
  7383. },
  7384. "vendorattr": {
  7385. "description": "供应商附件(多张,逗号分隔)",
  7386. "type": "string"
  7387. },
  7388. "vendorname": {
  7389. "description": "供应商名称",
  7390. "type": "string"
  7391. },
  7392. "vendorphone": {
  7393. "description": "供应商客服电话",
  7394. "type": "string"
  7395. },
  7396. "videourls": {
  7397. "description": "介绍视频[多张用逗号分隔]",
  7398. "type": "string"
  7399. }
  7400. }
  7401. },
  7402. "models.HsbySellCollectionOrder": {
  7403. "type": "object",
  7404. "required": [
  7405. "goodscode",
  7406. "goodsname",
  7407. "tradeid",
  7408. "trademode"
  7409. ],
  7410. "properties": {
  7411. "agreeunit": {
  7412. "description": "合约单位",
  7413. "type": "number"
  7414. },
  7415. "buyaccountid": {
  7416. "description": "买方账号ID[报价币种]",
  7417. "type": "integer"
  7418. },
  7419. "buyorderid": {
  7420. "description": "买方委托单号",
  7421. "type": "string"
  7422. },
  7423. "createtime": {
  7424. "description": "创建时间",
  7425. "type": "string"
  7426. },
  7427. "currencysign": {
  7428. "description": "货币符号",
  7429. "type": "string"
  7430. },
  7431. "decimalplace": {
  7432. "description": "报价小数位",
  7433. "type": "integer"
  7434. },
  7435. "goodscode": {
  7436. "description": "商品代码(内部)",
  7437. "type": "string"
  7438. },
  7439. "goodsid": {
  7440. "description": "商品ID",
  7441. "type": "integer"
  7442. },
  7443. "goodsname": {
  7444. "description": "商品名称",
  7445. "type": "string"
  7446. },
  7447. "marketid": {
  7448. "description": "市场ID",
  7449. "type": "integer"
  7450. },
  7451. "offamount": {
  7452. "description": "优惠金额",
  7453. "type": "number"
  7454. },
  7455. "payamount": {
  7456. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7457. "type": "number"
  7458. },
  7459. "payflag": {
  7460. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7461. "type": "integer"
  7462. },
  7463. "paylimitedtime": {
  7464. "description": "支付期限",
  7465. "type": "string"
  7466. },
  7467. "paytime": {
  7468. "description": "付款时间",
  7469. "type": "string"
  7470. },
  7471. "picurls": {
  7472. "description": "商品介绍图片[多张用逗号分隔]",
  7473. "type": "string"
  7474. },
  7475. "sellaccountid": {
  7476. "description": "卖方账号ID[报价币种]",
  7477. "type": "integer"
  7478. },
  7479. "sellorderid": {
  7480. "description": "卖方委托单号",
  7481. "type": "string"
  7482. },
  7483. "tradeamount": {
  7484. "description": "成交金额",
  7485. "type": "number"
  7486. },
  7487. "tradecharge": {
  7488. "description": "成交手续费(买方)",
  7489. "type": "number"
  7490. },
  7491. "tradedate": {
  7492. "description": "交易日(yyyyMMdd)",
  7493. "type": "string"
  7494. },
  7495. "tradeid": {
  7496. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7497. "type": "string"
  7498. },
  7499. "trademode": {
  7500. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7501. "type": "integer"
  7502. },
  7503. "tradeprice": {
  7504. "description": "成交价格",
  7505. "type": "number"
  7506. },
  7507. "tradeqty": {
  7508. "description": "成交数量",
  7509. "type": "integer"
  7510. }
  7511. }
  7512. },
  7513. "models.HsbySellMyDetail": {
  7514. "type": "object",
  7515. "required": [
  7516. "accountid",
  7517. "buyorsell",
  7518. "goodscode",
  7519. "goodsid",
  7520. "goodsname",
  7521. "marketid",
  7522. "orderid",
  7523. "orderqty",
  7524. "time",
  7525. "trademode"
  7526. ],
  7527. "properties": {
  7528. "accountid": {
  7529. "description": "账户ID[报价币种]",
  7530. "type": "integer"
  7531. },
  7532. "agreeunit": {
  7533. "description": "合约单位",
  7534. "type": "number"
  7535. },
  7536. "buyorsell": {
  7537. "description": "买卖 - 0:买 1:卖",
  7538. "type": "integer"
  7539. },
  7540. "cancelqty": {
  7541. "description": "撤单数量",
  7542. "type": "integer"
  7543. },
  7544. "currencysign": {
  7545. "description": "货币符号",
  7546. "type": "string"
  7547. },
  7548. "decimalplace": {
  7549. "description": "报价小数位",
  7550. "type": "integer"
  7551. },
  7552. "goodscode": {
  7553. "description": "商品代码(内部)",
  7554. "type": "string"
  7555. },
  7556. "goodsid": {
  7557. "description": "商品ID",
  7558. "type": "integer"
  7559. },
  7560. "goodsname": {
  7561. "description": "商品名称",
  7562. "type": "string"
  7563. },
  7564. "marketid": {
  7565. "description": "市场ID",
  7566. "type": "integer"
  7567. },
  7568. "orderid": {
  7569. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  7570. "type": "string"
  7571. },
  7572. "orderqty": {
  7573. "description": "委托数量",
  7574. "type": "integer"
  7575. },
  7576. "ordertype": {
  7577. "description": "单据类型:0 - 发布中, 1 - 已完成",
  7578. "type": "integer"
  7579. },
  7580. "picurls": {
  7581. "description": "介绍图片[多张用逗号分隔]",
  7582. "type": "string"
  7583. },
  7584. "price": {
  7585. "description": "价格",
  7586. "type": "number"
  7587. },
  7588. "time": {
  7589. "description": "时间",
  7590. "type": "string"
  7591. },
  7592. "trademode": {
  7593. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7594. "type": "integer"
  7595. },
  7596. "tradeqty": {
  7597. "description": "成交数量",
  7598. "type": "integer"
  7599. },
  7600. "vendorname": {
  7601. "description": "供应商名称",
  7602. "type": "string"
  7603. }
  7604. }
  7605. },
  7606. "models.HsbyTopGoods": {
  7607. "type": "object",
  7608. "required": [
  7609. "goodscode",
  7610. "goodsid",
  7611. "goodsname",
  7612. "marketid",
  7613. "trademode"
  7614. ],
  7615. "properties": {
  7616. "agreeunit": {
  7617. "description": "合约单位",
  7618. "type": "number"
  7619. },
  7620. "currency": {
  7621. "description": "货币",
  7622. "type": "string"
  7623. },
  7624. "currencysign": {
  7625. "description": "货币符号",
  7626. "type": "string"
  7627. },
  7628. "decimalplace": {
  7629. "description": "报价小数位",
  7630. "type": "integer"
  7631. },
  7632. "goodscode": {
  7633. "description": "商品代码(内部)",
  7634. "type": "string"
  7635. },
  7636. "goodsid": {
  7637. "description": "商品ID(自增ID SEQ_GOODS)",
  7638. "type": "integer"
  7639. },
  7640. "goodsname": {
  7641. "description": "商品名称",
  7642. "type": "string"
  7643. },
  7644. "hotindex": {
  7645. "description": "景点热度",
  7646. "type": "integer"
  7647. },
  7648. "last": {
  7649. "description": "现价",
  7650. "type": "number"
  7651. },
  7652. "marketid": {
  7653. "description": "所属市场ID",
  7654. "type": "integer"
  7655. },
  7656. "picurls": {
  7657. "description": "介绍图片[多张用逗号分隔]",
  7658. "type": "string"
  7659. },
  7660. "quoteminunit": {
  7661. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7662. "type": "integer"
  7663. },
  7664. "trademode": {
  7665. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7666. "type": "integer"
  7667. },
  7668. "videourls": {
  7669. "description": "介绍视频[多张用逗号分隔]",
  7670. "type": "string"
  7671. }
  7672. }
  7673. },
  7674. "models.HybsMyBuyOrderDetail": {
  7675. "type": "object",
  7676. "required": [
  7677. "accountid",
  7678. "buyorsell",
  7679. "goodscode",
  7680. "goodsid",
  7681. "goodsname",
  7682. "marketid",
  7683. "orderid",
  7684. "orderqty",
  7685. "ordertime",
  7686. "trademode"
  7687. ],
  7688. "properties": {
  7689. "accountid": {
  7690. "description": "账户ID[报价币种]",
  7691. "type": "integer"
  7692. },
  7693. "agreeunit": {
  7694. "description": "合约单位",
  7695. "type": "number"
  7696. },
  7697. "buyorsell": {
  7698. "description": "买卖 - 0:买 1:卖",
  7699. "type": "integer"
  7700. },
  7701. "cancelqty": {
  7702. "description": "撤单数量",
  7703. "type": "integer"
  7704. },
  7705. "currencysign": {
  7706. "description": "货币符号",
  7707. "type": "string"
  7708. },
  7709. "decimalplace": {
  7710. "description": "报价小数位",
  7711. "type": "integer"
  7712. },
  7713. "goodscode": {
  7714. "description": "商品代码(内部)",
  7715. "type": "string"
  7716. },
  7717. "goodsid": {
  7718. "description": "商品ID",
  7719. "type": "integer"
  7720. },
  7721. "goodsname": {
  7722. "description": "商品名称",
  7723. "type": "string"
  7724. },
  7725. "listingselecttype": {
  7726. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7727. "type": "integer"
  7728. },
  7729. "marketid": {
  7730. "description": "市场ID",
  7731. "type": "integer"
  7732. },
  7733. "mybuystatus": {
  7734. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  7735. "type": "integer"
  7736. },
  7737. "orderamount": {
  7738. "description": "委托金额",
  7739. "type": "number"
  7740. },
  7741. "orderid": {
  7742. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7743. "type": "string"
  7744. },
  7745. "orderprice": {
  7746. "description": "委托价格",
  7747. "type": "number"
  7748. },
  7749. "orderqty": {
  7750. "description": "委托数量",
  7751. "type": "integer"
  7752. },
  7753. "orderstatus": {
  7754. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7755. "type": "integer"
  7756. },
  7757. "ordertime": {
  7758. "description": "委托时间",
  7759. "type": "string"
  7760. },
  7761. "picurls1": {
  7762. "description": "预售商品介绍图片[多张用逗号分隔]",
  7763. "type": "string"
  7764. },
  7765. "picurls2": {
  7766. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7767. "type": "string"
  7768. },
  7769. "trademode": {
  7770. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7771. "type": "integer"
  7772. },
  7773. "tradeqty": {
  7774. "description": "成交数量",
  7775. "type": "integer"
  7776. },
  7777. "vendorname1": {
  7778. "description": "预售商品供应商名称",
  7779. "type": "string"
  7780. },
  7781. "vendorname2": {
  7782. "description": "挂牌商品供应商名称",
  7783. "type": "string"
  7784. }
  7785. }
  7786. },
  7787. "models.Messageboard": {
  7788. "type": "object",
  7789. "required": [
  7790. "messageboardid"
  7791. ],
  7792. "properties": {
  7793. "createtime": {
  7794. "description": "创建时间",
  7795. "type": "string"
  7796. },
  7797. "message": {
  7798. "description": "留言信息",
  7799. "type": "string"
  7800. },
  7801. "messageboardid": {
  7802. "description": "留言簿ID(SEQ_MessageBoard)",
  7803. "type": "integer"
  7804. },
  7805. "userid": {
  7806. "description": "用户ID",
  7807. "type": "integer"
  7808. }
  7809. }
  7810. },
  7811. "models.MyCoupon": {
  7812. "type": "object",
  7813. "required": [
  7814. "accountid",
  7815. "coupontypeid"
  7816. ],
  7817. "properties": {
  7818. "accountid": {
  7819. "description": "资金账户ID",
  7820. "type": "integer"
  7821. },
  7822. "areauserid": {
  7823. "description": "所属机构",
  7824. "type": "integer"
  7825. },
  7826. "conditionvalue": {
  7827. "description": "条件阈值(可为0)",
  7828. "type": "number"
  7829. },
  7830. "couponcategroy": {
  7831. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  7832. "type": "integer"
  7833. },
  7834. "couponname": {
  7835. "description": "优惠券名称",
  7836. "type": "string"
  7837. },
  7838. "coupontypeid": {
  7839. "description": "优惠券类型ID",
  7840. "type": "integer"
  7841. },
  7842. "couponvalue": {
  7843. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  7844. "type": "number"
  7845. },
  7846. "curfreezeqty": {
  7847. "description": "期末冻结数量",
  7848. "type": "integer"
  7849. },
  7850. "curqty": {
  7851. "description": "期末数量",
  7852. "type": "integer"
  7853. },
  7854. "isgeneral": {
  7855. "description": "是否通用券 - 0:否 1:是",
  7856. "type": "integer"
  7857. },
  7858. "isunusable": {
  7859. "description": "是否不可用",
  7860. "type": "boolean"
  7861. },
  7862. "limitedflag": {
  7863. "description": "是否指定商品 - 0:不限 1:限制",
  7864. "type": "integer"
  7865. },
  7866. "limitedgoodsids": {
  7867. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  7868. "type": "string"
  7869. },
  7870. "orifreezeqty": {
  7871. "description": "期初冻结数量",
  7872. "type": "integer"
  7873. },
  7874. "oriqty": {
  7875. "description": "期初数量",
  7876. "type": "integer"
  7877. },
  7878. "reasontype": {
  7879. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  7880. "type": "integer"
  7881. },
  7882. "todaydecrease": {
  7883. "description": "今日减少",
  7884. "type": "integer"
  7885. },
  7886. "todayincrease": {
  7887. "description": "今日增加",
  7888. "type": "integer"
  7889. },
  7890. "userid": {
  7891. "description": "用户ID",
  7892. "type": "integer"
  7893. },
  7894. "userscope": {
  7895. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  7896. "type": "string"
  7897. }
  7898. }
  7899. },
  7900. "models.OperationPrimaryMenu": {
  7901. "type": "object",
  7902. "properties": {
  7903. "Children": {
  7904. "description": "二级功能菜单",
  7905. "type": "array",
  7906. "items": {
  7907. "$ref": "#/definitions/models.OperationSecondaryMenu"
  7908. }
  7909. },
  7910. "Key": {
  7911. "description": "菜单KEY",
  7912. "type": "string"
  7913. },
  7914. "Label": {
  7915. "description": "菜单标题",
  7916. "type": "string"
  7917. }
  7918. }
  7919. },
  7920. "models.OperationSecondaryMenu": {
  7921. "type": "object",
  7922. "properties": {
  7923. "Key": {
  7924. "description": "菜单KEY",
  7925. "type": "string"
  7926. },
  7927. "Label": {
  7928. "description": "菜单标题",
  7929. "type": "string"
  7930. },
  7931. "TabList": {
  7932. "description": "三级功能菜单",
  7933. "type": "array",
  7934. "items": {
  7935. "$ref": "#/definitions/models.OperationTabMenu"
  7936. }
  7937. }
  7938. }
  7939. },
  7940. "models.OperationTabMenu": {
  7941. "type": "object",
  7942. "properties": {
  7943. "Key": {
  7944. "description": "菜单KEY",
  7945. "type": "string"
  7946. },
  7947. "Label": {
  7948. "description": "菜单标题",
  7949. "type": "string"
  7950. }
  7951. }
  7952. },
  7953. "models.QuotePrimaryMenu": {
  7954. "type": "object",
  7955. "properties": {
  7956. "Index": {
  7957. "description": "序号",
  7958. "type": "integer"
  7959. },
  7960. "Key": {
  7961. "description": "键名",
  7962. "type": "string"
  7963. },
  7964. "Name": {
  7965. "description": "菜单名称",
  7966. "type": "string"
  7967. },
  7968. "SubMenus": {
  7969. "description": "子菜单",
  7970. "type": "array",
  7971. "items": {
  7972. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  7973. }
  7974. },
  7975. "SubTitleType": {
  7976. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  7977. "type": "integer"
  7978. },
  7979. "TradeModes": {
  7980. "description": "包含市场交易类型",
  7981. "type": "string"
  7982. }
  7983. }
  7984. },
  7985. "models.QuoteSecondaryMenu": {
  7986. "type": "object",
  7987. "properties": {
  7988. "ExExchangeCode": {
  7989. "description": "外部交易所代码",
  7990. "type": "string"
  7991. },
  7992. "ExExchangeID": {
  7993. "description": "外部交易所ID",
  7994. "type": "integer"
  7995. },
  7996. "GoodsGroupIDs": {
  7997. "description": "商品组ID列表",
  7998. "type": "array",
  7999. "items": {
  8000. "type": "integer"
  8001. }
  8002. },
  8003. "Index": {
  8004. "description": "序号",
  8005. "type": "integer"
  8006. },
  8007. "MarketID": {
  8008. "description": "市场ID",
  8009. "type": "integer"
  8010. },
  8011. "MenuTitle": {
  8012. "description": "菜单标题(市场名称或外部交易所名称)",
  8013. "type": "string"
  8014. },
  8015. "TradeMode": {
  8016. "description": "交易模式",
  8017. "type": "integer"
  8018. }
  8019. }
  8020. },
  8021. "models.SearchGoods": {
  8022. "type": "object",
  8023. "required": [
  8024. "goodscode",
  8025. "goodsid",
  8026. "goodsname",
  8027. "marketid",
  8028. "trademode"
  8029. ],
  8030. "properties": {
  8031. "goodscode": {
  8032. "description": "商品代码(内部)",
  8033. "type": "string"
  8034. },
  8035. "goodsid": {
  8036. "description": "商品ID(自增ID SEQ_GOODS)",
  8037. "type": "integer"
  8038. },
  8039. "goodsname": {
  8040. "description": "商品名称",
  8041. "type": "string"
  8042. },
  8043. "marketid": {
  8044. "description": "所属市场ID",
  8045. "type": "integer"
  8046. },
  8047. "marketname": {
  8048. "description": "市场名称",
  8049. "type": "string"
  8050. },
  8051. "trademode": {
  8052. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8053. "type": "integer"
  8054. }
  8055. }
  8056. },
  8057. "models.Szdz2imageconfig": {
  8058. "type": "object",
  8059. "required": [
  8060. "configid"
  8061. ],
  8062. "properties": {
  8063. "configid": {
  8064. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8065. "type": "integer"
  8066. },
  8067. "imagepath": {
  8068. "description": "图片",
  8069. "type": "string"
  8070. },
  8071. "imagetype": {
  8072. "description": "类型 - 1:App首页轮播 2:我的",
  8073. "type": "integer"
  8074. },
  8075. "sort": {
  8076. "description": "排序",
  8077. "type": "integer"
  8078. },
  8079. "title": {
  8080. "description": "标题",
  8081. "type": "string"
  8082. },
  8083. "url": {
  8084. "description": "链接",
  8085. "type": "string"
  8086. }
  8087. }
  8088. },
  8089. "models.Szdz3convertconfig": {
  8090. "type": "object",
  8091. "required": [
  8092. "converttype",
  8093. "innergoodsid",
  8094. "outergoodscode"
  8095. ],
  8096. "properties": {
  8097. "canin": {
  8098. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  8099. "type": "integer"
  8100. },
  8101. "canout": {
  8102. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  8103. "type": "integer"
  8104. },
  8105. "converttype": {
  8106. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8107. "type": "integer"
  8108. },
  8109. "createtime": {
  8110. "description": "创建时间",
  8111. "type": "string"
  8112. },
  8113. "creatorid": {
  8114. "description": "创建人",
  8115. "type": "integer"
  8116. },
  8117. "daymaxvalue": {
  8118. "description": "当日最大转入限制",
  8119. "type": "number"
  8120. },
  8121. "freezedays": {
  8122. "description": "冻结天数 [5:花生米转交易]",
  8123. "type": "integer"
  8124. },
  8125. "innergoodsid": {
  8126. "description": "内部商品ID[交易]",
  8127. "type": "integer"
  8128. },
  8129. "inratio": {
  8130. "description": "目标值",
  8131. "type": "integer"
  8132. },
  8133. "modifierid": {
  8134. "description": "修改人",
  8135. "type": "integer"
  8136. },
  8137. "modifytime": {
  8138. "description": "修改时间",
  8139. "type": "string"
  8140. },
  8141. "outergoodscode": {
  8142. "description": "外部商品代码[JD\\PD]",
  8143. "type": "string"
  8144. },
  8145. "outratio": {
  8146. "description": "源值",
  8147. "type": "integer"
  8148. },
  8149. "pddecimalplace": {
  8150. "description": "PD小数位",
  8151. "type": "integer"
  8152. },
  8153. "timemaxvalue": {
  8154. "description": "单次最大转入限制",
  8155. "type": "number"
  8156. },
  8157. "timeminvalue": {
  8158. "description": "单次最小转入限制",
  8159. "type": "number"
  8160. }
  8161. }
  8162. },
  8163. "models.Szdz3searchwhitelist": {
  8164. "type": "object",
  8165. "required": [
  8166. "userid"
  8167. ],
  8168. "properties": {
  8169. "createtime": {
  8170. "description": "创建时间",
  8171. "type": "string"
  8172. },
  8173. "creatorid": {
  8174. "description": "创建人",
  8175. "type": "integer"
  8176. },
  8177. "modifierid": {
  8178. "description": "修改人",
  8179. "type": "integer"
  8180. },
  8181. "modifytime": {
  8182. "description": "修改时间",
  8183. "type": "string"
  8184. },
  8185. "userid": {
  8186. "description": "用户ID",
  8187. "type": "integer"
  8188. }
  8189. }
  8190. },
  8191. "models.Tablecolumnconfig": {
  8192. "type": "object",
  8193. "required": [
  8194. "autoid"
  8195. ],
  8196. "properties": {
  8197. "aligntype": {
  8198. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  8199. "type": "integer"
  8200. },
  8201. "autoid": {
  8202. "description": "AutoID",
  8203. "type": "integer"
  8204. },
  8205. "columnfield": {
  8206. "description": "列字段",
  8207. "type": "string"
  8208. },
  8209. "columntitle": {
  8210. "description": "列Title",
  8211. "type": "string"
  8212. },
  8213. "columnwidth": {
  8214. "description": "列宽",
  8215. "type": "string"
  8216. },
  8217. "formatterstring": {
  8218. "description": "格式化字符",
  8219. "type": "string"
  8220. },
  8221. "formattertype": {
  8222. "description": "格式化类型",
  8223. "type": "string"
  8224. },
  8225. "groupname": {
  8226. "description": "表头分组名称",
  8227. "type": "string"
  8228. },
  8229. "isshow": {
  8230. "description": "是否显示 - 0:不显示 1:显示",
  8231. "type": "integer"
  8232. },
  8233. "needsummary": {
  8234. "description": "是否需要汇总 - 0:不需要 1:需要",
  8235. "type": "integer"
  8236. },
  8237. "orderindex": {
  8238. "description": "顺序",
  8239. "type": "integer"
  8240. },
  8241. "remark": {
  8242. "description": "备注",
  8243. "type": "string"
  8244. },
  8245. "summarytype": {
  8246. "description": "汇总类型 - 1:加总 2:最后一个",
  8247. "type": "integer"
  8248. },
  8249. "tablekey": {
  8250. "description": "列表Key",
  8251. "type": "string"
  8252. }
  8253. }
  8254. },
  8255. "models.Useraccount": {
  8256. "type": "object",
  8257. "required": [
  8258. "userid"
  8259. ],
  8260. "properties": {
  8261. "accountname": {
  8262. "description": "账户名称(机构名称)",
  8263. "type": "string"
  8264. },
  8265. "accountstatus": {
  8266. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  8267. "type": "integer"
  8268. },
  8269. "auditremark": {
  8270. "description": "审核备注",
  8271. "type": "string"
  8272. },
  8273. "audittime": {
  8274. "description": "审核时间",
  8275. "type": "string"
  8276. },
  8277. "audituserid": {
  8278. "description": "审核人",
  8279. "type": "integer"
  8280. },
  8281. "broker": {
  8282. "description": "所属经纪人ID",
  8283. "type": "integer"
  8284. },
  8285. "canceltime": {
  8286. "description": "销户时间",
  8287. "type": "string"
  8288. },
  8289. "canceluserid": {
  8290. "description": "销户人",
  8291. "type": "integer"
  8292. },
  8293. "createtime": {
  8294. "description": "创建时间",
  8295. "type": "string"
  8296. },
  8297. "creatorid": {
  8298. "description": "创建人",
  8299. "type": "integer"
  8300. },
  8301. "hasauth": {
  8302. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  8303. "type": "integer"
  8304. },
  8305. "isanonymous": {
  8306. "description": "是否匿名下单 - 0:否 1:是",
  8307. "type": "integer"
  8308. },
  8309. "maxinvestornum": {
  8310. "description": "最大用户数(经纪会员下投资者个数)",
  8311. "type": "integer"
  8312. },
  8313. "memberuserid": {
  8314. "description": "所属会员ID",
  8315. "type": "integer"
  8316. },
  8317. "modifierid": {
  8318. "description": "修改人",
  8319. "type": "integer"
  8320. },
  8321. "modifyremark": {
  8322. "description": "变更备注",
  8323. "type": "string"
  8324. },
  8325. "modifystatus": {
  8326. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  8327. "type": "integer"
  8328. },
  8329. "modifytime": {
  8330. "description": "修改时间",
  8331. "type": "string"
  8332. },
  8333. "parentuserid": {
  8334. "description": "所属机构ID",
  8335. "type": "integer"
  8336. },
  8337. "reckonaccountid": {
  8338. "description": "默认结算资金账号ID(机构分润使用) 作废",
  8339. "type": "integer"
  8340. },
  8341. "refercount": {
  8342. "description": "推荐总人数",
  8343. "type": "integer"
  8344. },
  8345. "refereeuserid": {
  8346. "description": "推荐人ID",
  8347. "type": "integer"
  8348. },
  8349. "refernum": {
  8350. "description": "推荐码",
  8351. "type": "string"
  8352. },
  8353. "subarealevelpath": {
  8354. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  8355. "type": "string"
  8356. },
  8357. "userid": {
  8358. "description": "用户ID",
  8359. "type": "integer"
  8360. },
  8361. "usertype": {
  8362. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  8363. "type": "integer"
  8364. }
  8365. }
  8366. },
  8367. "models.Userfavoritegoods": {
  8368. "type": "object",
  8369. "required": [
  8370. "goodsid"
  8371. ],
  8372. "properties": {
  8373. "goodsid": {
  8374. "description": "商品ID",
  8375. "type": "integer"
  8376. }
  8377. }
  8378. },
  8379. "models.Userinfo": {
  8380. "type": "object",
  8381. "required": [
  8382. "userid"
  8383. ],
  8384. "properties": {
  8385. "address": {
  8386. "description": "地址",
  8387. "type": "string"
  8388. },
  8389. "attachment1": {
  8390. "description": "附件1",
  8391. "type": "string"
  8392. },
  8393. "attachment2": {
  8394. "description": "附件2",
  8395. "type": "string"
  8396. },
  8397. "bankaccount": {
  8398. "description": "银行帐号 (加密存储)",
  8399. "type": "string"
  8400. },
  8401. "bankaccountname": {
  8402. "description": "收款人名称",
  8403. "type": "string"
  8404. },
  8405. "bankcardfrontphotourl": {
  8406. "description": "银行卡正面照地址",
  8407. "type": "string"
  8408. },
  8409. "bankid": {
  8410. "description": "银行编码",
  8411. "type": "string"
  8412. },
  8413. "bankname": {
  8414. "description": "银行名称",
  8415. "type": "string"
  8416. },
  8417. "biznature": {
  8418. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8419. "type": "integer"
  8420. },
  8421. "bizscope": {
  8422. "description": "企业经营范围(企业)",
  8423. "type": "string"
  8424. },
  8425. "cardbackphotourl": {
  8426. "description": "证件背面图片地址",
  8427. "type": "string"
  8428. },
  8429. "cardfrontphotourl": {
  8430. "description": "证件正面图片地址",
  8431. "type": "string"
  8432. },
  8433. "cardnum": {
  8434. "description": "证件号码(加密存储)",
  8435. "type": "string"
  8436. },
  8437. "cardtypeid": {
  8438. "description": "证件类型ID",
  8439. "type": "integer"
  8440. },
  8441. "cityid": {
  8442. "description": "市",
  8443. "type": "integer"
  8444. },
  8445. "company": {
  8446. "description": "公司(个人)",
  8447. "type": "string"
  8448. },
  8449. "contactname": {
  8450. "description": "联系人",
  8451. "type": "string"
  8452. },
  8453. "countryid": {
  8454. "description": "国家",
  8455. "type": "integer"
  8456. },
  8457. "createtime": {
  8458. "description": "创建时间",
  8459. "type": "string"
  8460. },
  8461. "creatorid": {
  8462. "description": "创建人",
  8463. "type": "integer"
  8464. },
  8465. "customername": {
  8466. "description": "客户名称(企业名称)",
  8467. "type": "string"
  8468. },
  8469. "districtid": {
  8470. "description": "地区",
  8471. "type": "integer"
  8472. },
  8473. "email": {
  8474. "description": "邮件(加密存储)",
  8475. "type": "string"
  8476. },
  8477. "fax": {
  8478. "description": "传真(加密存储)",
  8479. "type": "string"
  8480. },
  8481. "halfbodyphotourl": {
  8482. "description": "半身照地址",
  8483. "type": "string"
  8484. },
  8485. "hasencrypt": {
  8486. "description": "数据是否已加密 - 0:未加密 1:已加密",
  8487. "type": "integer"
  8488. },
  8489. "headurl": {
  8490. "description": "头像地址",
  8491. "type": "string"
  8492. },
  8493. "legalcardbackphotourl": {
  8494. "description": "法人身份证背面照地址",
  8495. "type": "string"
  8496. },
  8497. "legalcardfrontphotourl": {
  8498. "description": "法人身份证正面照地址",
  8499. "type": "string"
  8500. },
  8501. "legalpersonname": {
  8502. "description": "法人姓名(企业)",
  8503. "type": "string"
  8504. },
  8505. "mobile": {
  8506. "description": "手机号码(加密存储)",
  8507. "type": "string"
  8508. },
  8509. "mobile2": {
  8510. "description": "手机号码[明文-尚志]",
  8511. "type": "string"
  8512. },
  8513. "modifierid": {
  8514. "description": "修改人",
  8515. "type": "integer"
  8516. },
  8517. "modifiertime": {
  8518. "description": "修改时间",
  8519. "type": "string"
  8520. },
  8521. "needinvoice": {
  8522. "description": "是否需要发票 - 0:不需要 1:需要",
  8523. "type": "integer"
  8524. },
  8525. "nickname": {
  8526. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  8527. "type": "string"
  8528. },
  8529. "openmode": {
  8530. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  8531. "type": "integer"
  8532. },
  8533. "otherurl": {
  8534. "description": "其它图片地址[使用分号分隔]",
  8535. "type": "string"
  8536. },
  8537. "postalcode": {
  8538. "description": "邮政编码",
  8539. "type": "string"
  8540. },
  8541. "provinceid": {
  8542. "description": "省",
  8543. "type": "integer"
  8544. },
  8545. "qq": {
  8546. "description": "QQ(加密存储",
  8547. "type": "string"
  8548. },
  8549. "remark": {
  8550. "description": "备注",
  8551. "type": "string"
  8552. },
  8553. "sex": {
  8554. "description": "用户性别 0: 女 1: 男",
  8555. "type": "integer"
  8556. },
  8557. "signpdfurl": {
  8558. "description": "签约pdf文件",
  8559. "type": "string"
  8560. },
  8561. "telphone": {
  8562. "description": "联系电话(加密存储)",
  8563. "type": "string"
  8564. },
  8565. "userid": {
  8566. "description": "用户ID",
  8567. "type": "integer"
  8568. },
  8569. "userinfotype": {
  8570. "description": "用户信息类型 - 1:个人 2:企业",
  8571. "type": "integer"
  8572. },
  8573. "userstatus": {
  8574. "description": "用户状态 - 1:正常 2:注销",
  8575. "type": "integer"
  8576. },
  8577. "usertype": {
  8578. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  8579. "type": "integer"
  8580. },
  8581. "wechat": {
  8582. "description": "微信(加密存储)",
  8583. "type": "string"
  8584. },
  8585. "wskhinfo": {
  8586. "description": "开户申请信息(JSON)",
  8587. "type": "string"
  8588. }
  8589. }
  8590. },
  8591. "models.WRStandardInfo": {
  8592. "type": "object",
  8593. "required": [
  8594. "wrstandardid"
  8595. ],
  8596. "properties": {
  8597. "createtime": {
  8598. "description": "创建时间",
  8599. "type": "string"
  8600. },
  8601. "creatorid": {
  8602. "description": "创建人",
  8603. "type": "integer"
  8604. },
  8605. "deliverygoodsid": {
  8606. "description": "品种ID",
  8607. "type": "integer"
  8608. },
  8609. "deliverygoodsname": {
  8610. "description": "交割商品名称",
  8611. "type": "string"
  8612. },
  8613. "factoryitemjson": {
  8614. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  8615. "type": "string"
  8616. },
  8617. "isvalid": {
  8618. "description": "是否有效 - 0:无效 1:有效",
  8619. "type": "integer"
  8620. },
  8621. "minivalue": {
  8622. "description": "最小变动值",
  8623. "type": "integer"
  8624. },
  8625. "minivaluedp": {
  8626. "description": "最小变动值小数位",
  8627. "type": "integer"
  8628. },
  8629. "realminivalue": {
  8630. "description": "实际最小变动值",
  8631. "type": "integer"
  8632. },
  8633. "realminivaluedp": {
  8634. "description": "实际最小变动值小数位",
  8635. "type": "integer"
  8636. },
  8637. "unitid": {
  8638. "description": "单位ID",
  8639. "type": "integer"
  8640. },
  8641. "unitname": {
  8642. "description": "单位",
  8643. "type": "string"
  8644. },
  8645. "updatetime": {
  8646. "description": "更新时间",
  8647. "type": "string"
  8648. },
  8649. "updatorid": {
  8650. "description": "更新人",
  8651. "type": "integer"
  8652. },
  8653. "wrsstatus": {
  8654. "description": "状态 - 作废 - 0:未激活 1:正常",
  8655. "type": "integer"
  8656. },
  8657. "wrstandardcode": {
  8658. "description": "仓单标准代码",
  8659. "type": "string"
  8660. },
  8661. "wrstandardid": {
  8662. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8663. "type": "integer"
  8664. },
  8665. "wrstandardname": {
  8666. "description": "仓单标准名称",
  8667. "type": "string"
  8668. }
  8669. }
  8670. },
  8671. "models.Warehouseinfo": {
  8672. "type": "object",
  8673. "required": [
  8674. "autoid",
  8675. "warehousecode"
  8676. ],
  8677. "properties": {
  8678. "address": {
  8679. "description": "详细地址",
  8680. "type": "string"
  8681. },
  8682. "areauserid": {
  8683. "description": "所属机构",
  8684. "type": "integer"
  8685. },
  8686. "autoid": {
  8687. "description": "自增ID",
  8688. "type": "integer"
  8689. },
  8690. "cityid": {
  8691. "description": "市",
  8692. "type": "integer"
  8693. },
  8694. "contactname": {
  8695. "description": "联系人",
  8696. "type": "string"
  8697. },
  8698. "contactnum": {
  8699. "description": "联系电话",
  8700. "type": "string"
  8701. },
  8702. "countryid": {
  8703. "description": "国家",
  8704. "type": "integer"
  8705. },
  8706. "createtime": {
  8707. "description": "创建时间",
  8708. "type": "string"
  8709. },
  8710. "districtid": {
  8711. "description": "区",
  8712. "type": "integer"
  8713. },
  8714. "hasvideo": {
  8715. "description": "是否有视频 - 0:无 1:有",
  8716. "type": "integer"
  8717. },
  8718. "provinceid": {
  8719. "description": "省",
  8720. "type": "integer"
  8721. },
  8722. "remark": {
  8723. "description": "审核备注",
  8724. "type": "string"
  8725. },
  8726. "videourl": {
  8727. "description": "视频地址",
  8728. "type": "string"
  8729. },
  8730. "warehousecode": {
  8731. "description": "仓库代码",
  8732. "type": "string"
  8733. },
  8734. "warehousename": {
  8735. "description": "仓库名称",
  8736. "type": "string"
  8737. },
  8738. "warehousestatus": {
  8739. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  8740. "type": "integer"
  8741. },
  8742. "warehousetype": {
  8743. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8744. "type": "integer"
  8745. }
  8746. }
  8747. },
  8748. "order.QueryHisTradeDetailRsp": {
  8749. "type": "object",
  8750. "required": [
  8751. "accountid",
  8752. "buyorsell",
  8753. "goodsid",
  8754. "histradedate",
  8755. "marketid",
  8756. "memberuserid",
  8757. "orderid",
  8758. "tradeamount",
  8759. "tradedate",
  8760. "tradeid",
  8761. "tradeprice",
  8762. "tradeqty",
  8763. "tradetime"
  8764. ],
  8765. "properties": {
  8766. "accountid": {
  8767. "description": "账户ID[报价币种]",
  8768. "type": "integer"
  8769. },
  8770. "buildtype": {
  8771. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8772. "type": "integer"
  8773. },
  8774. "buyorsell": {
  8775. "description": "方向 - 0:买 1:卖",
  8776. "type": "integer"
  8777. },
  8778. "charge": {
  8779. "description": "手续费",
  8780. "type": "number"
  8781. },
  8782. "closecharge": {
  8783. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8784. "type": "number"
  8785. },
  8786. "closeexchagechargevalue": {
  8787. "description": "平仓交易所手续费设置值",
  8788. "type": "number"
  8789. },
  8790. "closefeealgorithm": {
  8791. "description": "平仓手续费收取方式 1:比率 2:固定",
  8792. "type": "integer"
  8793. },
  8794. "closememberchargevalue": {
  8795. "description": "平仓会员手续费设置值",
  8796. "type": "number"
  8797. },
  8798. "closepl": {
  8799. "description": "平仓盈亏",
  8800. "type": "number"
  8801. },
  8802. "closepl2": {
  8803. "description": "平仓盈亏[逐笔]",
  8804. "type": "number"
  8805. },
  8806. "closeqty": {
  8807. "description": "平仓数量(先建后平操作 需要记录)",
  8808. "type": "integer"
  8809. },
  8810. "creditamount": {
  8811. "description": "授信金额",
  8812. "type": "number"
  8813. },
  8814. "gcaccountid": {
  8815. "description": "账户ID[合约币种]",
  8816. "type": "integer"
  8817. },
  8818. "goodscode": {
  8819. "description": "商品代码",
  8820. "type": "string"
  8821. },
  8822. "goodsid": {
  8823. "description": "商品ID",
  8824. "type": "integer"
  8825. },
  8826. "goodsname": {
  8827. "description": "商品名称",
  8828. "type": "string"
  8829. },
  8830. "histradedate": {
  8831. "description": "历史交易日",
  8832. "type": "string"
  8833. },
  8834. "intclosepl": {
  8835. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  8836. "type": "integer"
  8837. },
  8838. "isconfirmexercise": {
  8839. "description": "是否确认行权- 0:否 1:是",
  8840. "type": "integer"
  8841. },
  8842. "ismain": {
  8843. "description": "是否主单 - 0:不是 1:是",
  8844. "type": "integer"
  8845. },
  8846. "ispreexercise": {
  8847. "description": "是否预申报- 0:否 1:是",
  8848. "type": "integer"
  8849. },
  8850. "isreckoned": {
  8851. "description": "是否结算 - 0:未结算 1:已结算",
  8852. "type": "integer"
  8853. },
  8854. "isvaliddata": {
  8855. "description": "是否有效 - 0:无效 1:有效",
  8856. "type": "integer"
  8857. },
  8858. "listingselecttype": {
  8859. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8860. "type": "integer"
  8861. },
  8862. "marketid": {
  8863. "description": "市场ID",
  8864. "type": "integer"
  8865. },
  8866. "marketname": {
  8867. "description": "市场名称",
  8868. "type": "string"
  8869. },
  8870. "matchaccountid": {
  8871. "description": "对手账号id",
  8872. "type": "integer"
  8873. },
  8874. "memberuserid": {
  8875. "description": "会员id 个人投资者 需要填写",
  8876. "type": "integer"
  8877. },
  8878. "opencharge": {
  8879. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8880. "type": "number"
  8881. },
  8882. "openexchagechargevalue": {
  8883. "description": "建仓交易所手续费设置值",
  8884. "type": "number"
  8885. },
  8886. "openfeealgorithm": {
  8887. "description": "建仓手续费收取方式 1:比率 2:固定",
  8888. "type": "integer"
  8889. },
  8890. "openmemberchargevalue": {
  8891. "description": "建仓会员手续费设置值",
  8892. "type": "number"
  8893. },
  8894. "openqty": {
  8895. "description": "开仓数量(先建后平操作 需要记录)",
  8896. "type": "integer"
  8897. },
  8898. "optiontype": {
  8899. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8900. "type": "integer"
  8901. },
  8902. "orderid": {
  8903. "description": "委托单号",
  8904. "type": "string"
  8905. },
  8906. "performanceplanid": {
  8907. "description": "履约计划ID[期权]",
  8908. "type": "integer"
  8909. },
  8910. "performancestatus": {
  8911. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  8912. "type": "integer"
  8913. },
  8914. "preexerciseprice": {
  8915. "description": "预申报价格",
  8916. "type": "number"
  8917. },
  8918. "premium": {
  8919. "description": "权利金 - [持仓单的权利金]",
  8920. "type": "number"
  8921. },
  8922. "relatedouttradeid": {
  8923. "description": "关联外部成交单ID",
  8924. "type": "integer"
  8925. },
  8926. "status": {
  8927. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  8928. "type": "integer"
  8929. },
  8930. "tradeamount": {
  8931. "description": "成交金额[账户币种,用于所有权]",
  8932. "type": "number"
  8933. },
  8934. "tradedate": {
  8935. "description": "交易日(yyyyMMdd)",
  8936. "type": "string"
  8937. },
  8938. "tradeid": {
  8939. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8940. "type": "string"
  8941. },
  8942. "trademode": {
  8943. "description": "交易模式",
  8944. "type": "integer"
  8945. },
  8946. "tradeprice": {
  8947. "description": "成交价格",
  8948. "type": "number"
  8949. },
  8950. "tradeproperty": {
  8951. "description": "交易属性",
  8952. "type": "integer"
  8953. },
  8954. "tradeqty": {
  8955. "description": "成交数量",
  8956. "type": "integer"
  8957. },
  8958. "tradetime": {
  8959. "description": "成交时间",
  8960. "type": "string"
  8961. },
  8962. "tradetype": {
  8963. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  8964. "type": "integer"
  8965. }
  8966. }
  8967. },
  8968. "order.QueryHisTradeOrderDetailRsp": {
  8969. "type": "object",
  8970. "required": [
  8971. "accountid",
  8972. "buildtype",
  8973. "buyorsell",
  8974. "goodsid",
  8975. "histradedate",
  8976. "marketid",
  8977. "memberuserid",
  8978. "operatetype",
  8979. "orderid",
  8980. "orderqty",
  8981. "ordertime",
  8982. "pricemode",
  8983. "tradedate",
  8984. "validtype"
  8985. ],
  8986. "properties": {
  8987. "accountid": {
  8988. "description": "账户ID[报价币种]",
  8989. "type": "integer"
  8990. },
  8991. "buildtype": {
  8992. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8993. "type": "integer"
  8994. },
  8995. "buyorsell": {
  8996. "description": "买卖 - 0:买 1:卖",
  8997. "type": "integer"
  8998. },
  8999. "cancelorderid": {
  9000. "description": "撤单单号(撤单时填写)",
  9001. "type": "string"
  9002. },
  9003. "cancelqty": {
  9004. "description": "撤单数量",
  9005. "type": "integer"
  9006. },
  9007. "clientordertime": {
  9008. "description": "客户端委托时间",
  9009. "type": "string"
  9010. },
  9011. "clientticket": {
  9012. "description": "客户端流水号",
  9013. "type": "string"
  9014. },
  9015. "clienttype": {
  9016. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9017. "type": "integer"
  9018. },
  9019. "closeexchagechargevalue": {
  9020. "description": "平仓交易所手续费设置值",
  9021. "type": "number"
  9022. },
  9023. "closefeealgorithm": {
  9024. "description": "平仓手续费收取方式 1:比率 2:固定",
  9025. "type": "integer"
  9026. },
  9027. "closefreezecharge": {
  9028. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9029. "type": "number"
  9030. },
  9031. "closememberchargevalue": {
  9032. "description": "平仓会员手续费设置值",
  9033. "type": "number"
  9034. },
  9035. "closeqty": {
  9036. "description": "平仓数量(先建后平操作 需要记录)",
  9037. "type": "integer"
  9038. },
  9039. "closetradeqty": {
  9040. "description": "平仓成交数量(先建后平操作,需要记录)",
  9041. "type": "integer"
  9042. },
  9043. "closeunfreezecharge": {
  9044. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9045. "type": "number"
  9046. },
  9047. "delistingtype": {
  9048. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9049. "type": "integer"
  9050. },
  9051. "freezecharge": {
  9052. "description": "冻结手续费",
  9053. "type": "number"
  9054. },
  9055. "freezemargin": {
  9056. "description": "冻结保证金(冻结交易金额)",
  9057. "type": "number"
  9058. },
  9059. "gcaccountid": {
  9060. "description": "账户ID[合约币种]",
  9061. "type": "integer"
  9062. },
  9063. "goodscode": {
  9064. "description": "商品代码",
  9065. "type": "string"
  9066. },
  9067. "goodsid": {
  9068. "description": "商品ID",
  9069. "type": "integer"
  9070. },
  9071. "goodsname": {
  9072. "description": "商品名称",
  9073. "type": "string"
  9074. },
  9075. "histradedate": {
  9076. "description": "历史交易日",
  9077. "type": "string"
  9078. },
  9079. "isconfirmexercise": {
  9080. "description": "是否确认行权- 0:否 1:是",
  9081. "type": "integer"
  9082. },
  9083. "ispreexercise": {
  9084. "description": "是否预申报- 0:否 1:是",
  9085. "type": "integer"
  9086. },
  9087. "isvaliddata": {
  9088. "description": "是否有效 - 0:无效 1:有效",
  9089. "type": "integer"
  9090. },
  9091. "listingselecttype": {
  9092. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9093. "type": "integer"
  9094. },
  9095. "marginalgorithm": {
  9096. "description": "保证金收取方式 1:比率 2:固定",
  9097. "type": "integer"
  9098. },
  9099. "marginvalue": {
  9100. "description": "即市保证金设置值",
  9101. "type": "number"
  9102. },
  9103. "marketid": {
  9104. "description": "市场ID",
  9105. "type": "integer"
  9106. },
  9107. "marketmaxsub": {
  9108. "description": "市价最大偏移范围",
  9109. "type": "number"
  9110. },
  9111. "marketname": {
  9112. "description": "市场名称",
  9113. "type": "string"
  9114. },
  9115. "memberuserid": {
  9116. "description": "所属会员UserID",
  9117. "type": "integer"
  9118. },
  9119. "openexchagechargevalue": {
  9120. "description": "建仓交易所手续费设置值",
  9121. "type": "number"
  9122. },
  9123. "openfeealgorithm": {
  9124. "description": "建仓手续费收取方式 1:比率 2:固定",
  9125. "type": "integer"
  9126. },
  9127. "openfreezecharge": {
  9128. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9129. "type": "number"
  9130. },
  9131. "openmemberchargevalue": {
  9132. "description": "建仓会员手续费设置值",
  9133. "type": "number"
  9134. },
  9135. "openqty": {
  9136. "description": "开仓数量(先建后平操作,需要记录)",
  9137. "type": "integer"
  9138. },
  9139. "opentradeqty": {
  9140. "description": "开仓成交数量(先建后平操作,需要记录)",
  9141. "type": "integer"
  9142. },
  9143. "openunfreezecharge": {
  9144. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9145. "type": "number"
  9146. },
  9147. "operatetype": {
  9148. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9149. "type": "integer"
  9150. },
  9151. "operatorid": {
  9152. "description": "登录账号(LoginID)",
  9153. "type": "integer"
  9154. },
  9155. "optiontype": {
  9156. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9157. "type": "integer"
  9158. },
  9159. "orderid": {
  9160. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9161. "type": "string"
  9162. },
  9163. "orderprice": {
  9164. "description": "委托价格",
  9165. "type": "number"
  9166. },
  9167. "orderqty": {
  9168. "description": "委托数量",
  9169. "type": "integer"
  9170. },
  9171. "ordersrc": {
  9172. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9173. "type": "integer"
  9174. },
  9175. "orderstatus": {
  9176. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9177. "type": "integer"
  9178. },
  9179. "ordertime": {
  9180. "description": "委托时间",
  9181. "type": "string"
  9182. },
  9183. "preexerciseprice": {
  9184. "description": "预申报价格",
  9185. "type": "number"
  9186. },
  9187. "premium": {
  9188. "description": "权利金",
  9189. "type": "number"
  9190. },
  9191. "preorderid": {
  9192. "description": "关联预埋单号(止盈止损单时填写)",
  9193. "type": "string"
  9194. },
  9195. "pricemode": {
  9196. "description": "取价方式 - 1:市价 2: 限价",
  9197. "type": "integer"
  9198. },
  9199. "quoteid": {
  9200. "description": "报价单ID",
  9201. "type": "integer"
  9202. },
  9203. "relatedid": {
  9204. "description": "关联单号(交割单)",
  9205. "type": "string"
  9206. },
  9207. "retcode": {
  9208. "description": "错误代码",
  9209. "type": "integer"
  9210. },
  9211. "sessionid": {
  9212. "description": "会话ID",
  9213. "type": "integer"
  9214. },
  9215. "tradedate": {
  9216. "description": "交易日(yyyyMMdd)",
  9217. "type": "string"
  9218. },
  9219. "trademode": {
  9220. "description": "交易模式",
  9221. "type": "integer"
  9222. },
  9223. "tradeproperty": {
  9224. "description": "交易属性",
  9225. "type": "integer"
  9226. },
  9227. "tradeqty": {
  9228. "description": "成交数量",
  9229. "type": "integer"
  9230. },
  9231. "unfreezecharge": {
  9232. "description": "解冻手续费",
  9233. "type": "number"
  9234. },
  9235. "unfreezemargin": {
  9236. "description": "解冻保证金",
  9237. "type": "number"
  9238. },
  9239. "updatetime": {
  9240. "description": "更新时间",
  9241. "type": "string"
  9242. },
  9243. "uuid": {
  9244. "description": "发起端唯一id",
  9245. "type": "string"
  9246. },
  9247. "validtime": {
  9248. "description": "有效期限",
  9249. "type": "string"
  9250. },
  9251. "validtype": {
  9252. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9253. "type": "integer"
  9254. },
  9255. "volumetype": {
  9256. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9257. "type": "integer"
  9258. }
  9259. }
  9260. },
  9261. "order.QueryTradeDetailRsp": {
  9262. "type": "object",
  9263. "required": [
  9264. "accountid",
  9265. "buyorsell",
  9266. "goodsid",
  9267. "marketid",
  9268. "memberuserid",
  9269. "orderid",
  9270. "tradeamount",
  9271. "tradedate",
  9272. "tradeid",
  9273. "tradeprice",
  9274. "tradeqty",
  9275. "tradetime"
  9276. ],
  9277. "properties": {
  9278. "accountid": {
  9279. "description": "账户ID[报价币种]",
  9280. "type": "integer"
  9281. },
  9282. "buildtype": {
  9283. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  9284. "type": "integer"
  9285. },
  9286. "buyorsell": {
  9287. "description": "方向 - 0:买 1:卖",
  9288. "type": "integer"
  9289. },
  9290. "charge": {
  9291. "description": "手续费",
  9292. "type": "number"
  9293. },
  9294. "closecharge": {
  9295. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9296. "type": "number"
  9297. },
  9298. "closeexchagechargevalue": {
  9299. "description": "平仓交易所手续费设置值",
  9300. "type": "number"
  9301. },
  9302. "closefeealgorithm": {
  9303. "description": "平仓手续费收取方式 1:比率 2:固定",
  9304. "type": "integer"
  9305. },
  9306. "closememberchargevalue": {
  9307. "description": "平仓会员手续费设置值",
  9308. "type": "number"
  9309. },
  9310. "closepl": {
  9311. "description": "平仓盈亏",
  9312. "type": "number"
  9313. },
  9314. "closepl2": {
  9315. "description": "平仓盈亏[逐笔]",
  9316. "type": "number"
  9317. },
  9318. "closeqty": {
  9319. "description": "平仓数量(先建后平操作 需要记录)",
  9320. "type": "integer"
  9321. },
  9322. "creditamount": {
  9323. "description": "授信金额",
  9324. "type": "number"
  9325. },
  9326. "gcaccountid": {
  9327. "description": "账户ID[合约币种]",
  9328. "type": "integer"
  9329. },
  9330. "goodscode": {
  9331. "description": "商品代码",
  9332. "type": "string"
  9333. },
  9334. "goodsid": {
  9335. "description": "商品ID",
  9336. "type": "integer"
  9337. },
  9338. "goodsname": {
  9339. "description": "商品名称",
  9340. "type": "string"
  9341. },
  9342. "intclosepl": {
  9343. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  9344. "type": "integer"
  9345. },
  9346. "isconfirmexercise": {
  9347. "description": "是否确认行权- 0:否 1:是",
  9348. "type": "integer"
  9349. },
  9350. "ismain": {
  9351. "description": "是否主单 - 0:不是 1:是",
  9352. "type": "integer"
  9353. },
  9354. "ispreexercise": {
  9355. "description": "是否预申报- 0:否 1:是",
  9356. "type": "integer"
  9357. },
  9358. "isreckoned": {
  9359. "description": "是否结算 - 0:未结算 1:已结算",
  9360. "type": "integer"
  9361. },
  9362. "listingselecttype": {
  9363. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9364. "type": "integer"
  9365. },
  9366. "marketid": {
  9367. "description": "市场ID",
  9368. "type": "integer"
  9369. },
  9370. "marketname": {
  9371. "description": "市场名称",
  9372. "type": "string"
  9373. },
  9374. "matchaccountid": {
  9375. "description": "对手账号id",
  9376. "type": "integer"
  9377. },
  9378. "memberuserid": {
  9379. "description": "会员id 个人投资者 需要填写",
  9380. "type": "integer"
  9381. },
  9382. "opencharge": {
  9383. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9384. "type": "number"
  9385. },
  9386. "openexchagechargevalue": {
  9387. "description": "建仓交易所手续费设置值",
  9388. "type": "number"
  9389. },
  9390. "openfeealgorithm": {
  9391. "description": "建仓手续费收取方式 1:比率 2:固定",
  9392. "type": "integer"
  9393. },
  9394. "openmemberchargevalue": {
  9395. "description": "建仓会员手续费设置值",
  9396. "type": "number"
  9397. },
  9398. "openqty": {
  9399. "description": "开仓数量(先建后平操作 需要记录)",
  9400. "type": "integer"
  9401. },
  9402. "optiontype": {
  9403. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9404. "type": "integer"
  9405. },
  9406. "orderid": {
  9407. "description": "委托单号",
  9408. "type": "string"
  9409. },
  9410. "performanceplanid": {
  9411. "description": "履约计划ID[期权]",
  9412. "type": "integer"
  9413. },
  9414. "performancestatus": {
  9415. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  9416. "type": "integer"
  9417. },
  9418. "preexerciseprice": {
  9419. "description": "预申报价格",
  9420. "type": "number"
  9421. },
  9422. "premium": {
  9423. "description": "权利金 - [持仓单的权利金]",
  9424. "type": "number"
  9425. },
  9426. "relatedouttradeid": {
  9427. "description": "关联外部成交单ID",
  9428. "type": "integer"
  9429. },
  9430. "status": {
  9431. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  9432. "type": "integer"
  9433. },
  9434. "tradeamount": {
  9435. "description": "成交金额[账户币种,用于所有权]",
  9436. "type": "number"
  9437. },
  9438. "tradedate": {
  9439. "description": "交易日(yyyyMMdd)",
  9440. "type": "string"
  9441. },
  9442. "tradeid": {
  9443. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9444. "type": "string"
  9445. },
  9446. "trademode": {
  9447. "description": "交易模式",
  9448. "type": "integer"
  9449. },
  9450. "tradeprice": {
  9451. "description": "成交价格",
  9452. "type": "number"
  9453. },
  9454. "tradeproperty": {
  9455. "description": "交易属性",
  9456. "type": "integer"
  9457. },
  9458. "tradeqty": {
  9459. "description": "成交数量",
  9460. "type": "integer"
  9461. },
  9462. "tradetime": {
  9463. "description": "成交时间",
  9464. "type": "string"
  9465. },
  9466. "tradetype": {
  9467. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  9468. "type": "integer"
  9469. }
  9470. }
  9471. },
  9472. "order.QueryTradeOrderDetailRsp": {
  9473. "type": "object",
  9474. "required": [
  9475. "accountid",
  9476. "buildtype",
  9477. "buyorsell",
  9478. "goodsid",
  9479. "marketid",
  9480. "operatetype",
  9481. "orderqty",
  9482. "ordertime",
  9483. "pricemode",
  9484. "tradedate",
  9485. "validtype"
  9486. ],
  9487. "properties": {
  9488. "accountid": {
  9489. "description": "账户ID[报价币种]",
  9490. "type": "integer"
  9491. },
  9492. "buildtype": {
  9493. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9494. "type": "integer"
  9495. },
  9496. "buyorsell": {
  9497. "description": "买卖 - 0:买 1:卖",
  9498. "type": "integer"
  9499. },
  9500. "cancelorderid": {
  9501. "description": "撤单单号(撤单时填写)",
  9502. "type": "string"
  9503. },
  9504. "cancelqty": {
  9505. "description": "撤单数量",
  9506. "type": "integer"
  9507. },
  9508. "clienttype": {
  9509. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9510. "type": "integer"
  9511. },
  9512. "closefreezecharge": {
  9513. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9514. "type": "number"
  9515. },
  9516. "closeqty": {
  9517. "description": "平仓数量(先建后平操作 需要记录)",
  9518. "type": "integer"
  9519. },
  9520. "closetradeqty": {
  9521. "description": "平仓成交数量(先建后平操作,需要记录)",
  9522. "type": "integer"
  9523. },
  9524. "closeunfreezecharge": {
  9525. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9526. "type": "number"
  9527. },
  9528. "delistingtype": {
  9529. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9530. "type": "integer"
  9531. },
  9532. "enableqty": {
  9533. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  9534. "type": "integer"
  9535. },
  9536. "freezecharge": {
  9537. "description": "冻结手续费",
  9538. "type": "number"
  9539. },
  9540. "freezemargin": {
  9541. "description": "冻结保证金(冻结交易金额)",
  9542. "type": "number"
  9543. },
  9544. "goodscode": {
  9545. "description": "商品代码",
  9546. "type": "string"
  9547. },
  9548. "goodsid": {
  9549. "description": "商品ID",
  9550. "type": "integer"
  9551. },
  9552. "goodsname": {
  9553. "description": "商品名称",
  9554. "type": "string"
  9555. },
  9556. "listingselecttype": {
  9557. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9558. "type": "integer"
  9559. },
  9560. "marketid": {
  9561. "description": "市场ID",
  9562. "type": "integer"
  9563. },
  9564. "marketname": {
  9565. "description": "市场名称",
  9566. "type": "string"
  9567. },
  9568. "openfreezecharge": {
  9569. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9570. "type": "number"
  9571. },
  9572. "openqty": {
  9573. "description": "开仓数量(先建后平操作,需要记录)",
  9574. "type": "integer"
  9575. },
  9576. "opentradeqty": {
  9577. "description": "开仓成交数量(先建后平操作,需要记录)",
  9578. "type": "integer"
  9579. },
  9580. "openunfreezecharge": {
  9581. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9582. "type": "number"
  9583. },
  9584. "operatetype": {
  9585. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9586. "type": "integer"
  9587. },
  9588. "operatorid": {
  9589. "description": "登录账号(LoginID)",
  9590. "type": "integer"
  9591. },
  9592. "orderid": {
  9593. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9594. "type": "string"
  9595. },
  9596. "orderprice": {
  9597. "description": "委托价格",
  9598. "type": "number"
  9599. },
  9600. "orderqty": {
  9601. "description": "委托数量",
  9602. "type": "integer"
  9603. },
  9604. "ordersrc": {
  9605. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9606. "type": "integer"
  9607. },
  9608. "orderstatus": {
  9609. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9610. "type": "integer"
  9611. },
  9612. "ordertime": {
  9613. "description": "委托时间",
  9614. "type": "string"
  9615. },
  9616. "preorderid": {
  9617. "description": "关联预埋单号(止盈止损单时填写)",
  9618. "type": "string"
  9619. },
  9620. "pricemode": {
  9621. "description": "取价方式 - 1:市价 2: 限价",
  9622. "type": "integer"
  9623. },
  9624. "relatedid": {
  9625. "description": "关联单号(交割单)",
  9626. "type": "string"
  9627. },
  9628. "tradedate": {
  9629. "description": "交易日(yyyyMMdd)",
  9630. "type": "string"
  9631. },
  9632. "trademode": {
  9633. "description": "交易模式",
  9634. "type": "integer"
  9635. },
  9636. "tradeqty": {
  9637. "description": "成交数量",
  9638. "type": "integer"
  9639. },
  9640. "unfreezecharge": {
  9641. "description": "解冻手续费",
  9642. "type": "number"
  9643. },
  9644. "unfreezemargin": {
  9645. "description": "解冻保证金",
  9646. "type": "number"
  9647. },
  9648. "validtime": {
  9649. "description": "有效期限",
  9650. "type": "string"
  9651. },
  9652. "validtype": {
  9653. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9654. "type": "integer"
  9655. },
  9656. "volumetype": {
  9657. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9658. "type": "integer"
  9659. }
  9660. }
  9661. },
  9662. "order.QueryTradePositionRsp": {
  9663. "type": "object",
  9664. "required": [
  9665. "goodsid"
  9666. ],
  9667. "properties": {
  9668. "accountid": {
  9669. "description": "资金账户",
  9670. "type": "integer"
  9671. },
  9672. "agreeunit": {
  9673. "description": "合约单位",
  9674. "type": "number"
  9675. },
  9676. "averageprice": {
  9677. "description": "持仓均价",
  9678. "type": "number"
  9679. },
  9680. "buyorsell": {
  9681. "description": "方向 - 0:买 1:卖",
  9682. "type": "integer"
  9683. },
  9684. "closetotalqty": {
  9685. "description": "平仓总数量",
  9686. "type": "integer"
  9687. },
  9688. "curholderamount": {
  9689. "description": "当前持仓总金额[商品币种]",
  9690. "type": "number"
  9691. },
  9692. "curpositionqty": {
  9693. "description": "当前持仓总数量",
  9694. "type": "integer"
  9695. },
  9696. "currencyid": {
  9697. "description": "报价货币ID",
  9698. "type": "integer"
  9699. },
  9700. "curtdposition": {
  9701. "description": "期末今日头寸",
  9702. "type": "integer"
  9703. },
  9704. "decimalplace": {
  9705. "description": "报价小数位",
  9706. "type": "integer"
  9707. },
  9708. "enableqty": {
  9709. "description": "可用量",
  9710. "type": "integer"
  9711. },
  9712. "fretdposition": {
  9713. "description": "冻结今日头寸",
  9714. "type": "integer"
  9715. },
  9716. "frozenqty": {
  9717. "description": "持仓冻结数量",
  9718. "type": "integer"
  9719. },
  9720. "goodscode": {
  9721. "description": "商品代码",
  9722. "type": "string"
  9723. },
  9724. "goodsid": {
  9725. "description": "商品Id",
  9726. "type": "integer"
  9727. },
  9728. "goodsname": {
  9729. "description": "商品名称",
  9730. "type": "string"
  9731. },
  9732. "goodunit": {
  9733. "description": "报价单位",
  9734. "type": "string"
  9735. },
  9736. "goodunitid": {
  9737. "description": "报价单位ID",
  9738. "type": "integer"
  9739. },
  9740. "holderamount": {
  9741. "description": "期初持仓总金额[商品币种]",
  9742. "type": "number"
  9743. },
  9744. "marketid": {
  9745. "description": "所属市场ID",
  9746. "type": "integer"
  9747. },
  9748. "openreqqty": {
  9749. "description": "开仓申请数量(用于比较最大持仓数量)",
  9750. "type": "integer"
  9751. },
  9752. "opentotalqty": {
  9753. "description": "开仓总数量",
  9754. "type": "integer"
  9755. },
  9756. "otherfrozenqty": {
  9757. "description": "持仓其他冻结数量(交割冻结)",
  9758. "type": "integer"
  9759. },
  9760. "positionqty": {
  9761. "description": "期初持仓数量",
  9762. "type": "integer"
  9763. },
  9764. "tnqty": {
  9765. "description": "T+N冻结总量",
  9766. "type": "integer"
  9767. },
  9768. "tnusedqty": {
  9769. "description": "T+N使用量(可以使用T+N的冻结数量)",
  9770. "type": "integer"
  9771. },
  9772. "trademode": {
  9773. "description": "交易模式",
  9774. "type": "integer"
  9775. },
  9776. "usedmargin": {
  9777. "description": "占用保证金[商品币种]",
  9778. "type": "number"
  9779. }
  9780. }
  9781. },
  9782. "quote.HistoryData": {
  9783. "type": "object",
  9784. "properties": {
  9785. "c": {
  9786. "description": "收盘价",
  9787. "type": "number"
  9788. },
  9789. "h": {
  9790. "description": "最高价",
  9791. "type": "number"
  9792. },
  9793. "hv": {
  9794. "description": "持仓量",
  9795. "type": "integer"
  9796. },
  9797. "l": {
  9798. "description": "最低价",
  9799. "type": "number"
  9800. },
  9801. "o": {
  9802. "description": "开盘价",
  9803. "type": "number"
  9804. },
  9805. "s": {
  9806. "description": "结算价,日线周期(包括)以上才有",
  9807. "type": "number"
  9808. },
  9809. "ts": {
  9810. "description": "时间",
  9811. "type": "string"
  9812. },
  9813. "tt": {
  9814. "description": "总金额",
  9815. "type": "number"
  9816. },
  9817. "tv": {
  9818. "description": "总量",
  9819. "type": "integer"
  9820. }
  9821. }
  9822. },
  9823. "quote.QueryTSDataRsp": {
  9824. "type": "object",
  9825. "properties": {
  9826. "decimalPlace": {
  9827. "description": "小数位",
  9828. "type": "integer"
  9829. },
  9830. "endTime": {
  9831. "description": "结束时间",
  9832. "type": "string"
  9833. },
  9834. "goodsCode": {
  9835. "description": "商品代码",
  9836. "type": "string"
  9837. },
  9838. "historyDatas": {
  9839. "description": "历史数据",
  9840. "type": "array",
  9841. "items": {
  9842. "$ref": "#/definitions/quote.HistoryData"
  9843. }
  9844. },
  9845. "preSettle": {
  9846. "description": "昨结",
  9847. "type": "number"
  9848. },
  9849. "startTime": {
  9850. "description": "开始时间",
  9851. "type": "string"
  9852. },
  9853. "tradeDate": {
  9854. "description": "交易日",
  9855. "type": "string"
  9856. }
  9857. }
  9858. },
  9859. "szdz.QueryConvertLogRsp": {
  9860. "type": "object",
  9861. "required": [
  9862. "logid"
  9863. ],
  9864. "properties": {
  9865. "accountid": {
  9866. "description": "资金账户ID",
  9867. "type": "integer"
  9868. },
  9869. "clientticket": {
  9870. "description": "客户端流水号",
  9871. "type": "string"
  9872. },
  9873. "converttype": {
  9874. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  9875. "type": "integer"
  9876. },
  9877. "createtime": {
  9878. "description": "记账时间",
  9879. "type": "string"
  9880. },
  9881. "daymaxvalue": {
  9882. "description": "配置当日最大转入限制",
  9883. "type": "number"
  9884. },
  9885. "daymaxvalue2": {
  9886. "description": "配置当日最大转入限制(转入)",
  9887. "type": "number"
  9888. },
  9889. "goodscode": {
  9890. "description": "商品代码",
  9891. "type": "string"
  9892. },
  9893. "goodsname": {
  9894. "description": "商品名称",
  9895. "type": "string"
  9896. },
  9897. "handlestatus": {
  9898. "description": "处理状态",
  9899. "type": "integer"
  9900. },
  9901. "innergoodsid": {
  9902. "description": "内部商品ID",
  9903. "type": "integer"
  9904. },
  9905. "inratio": {
  9906. "description": "配置转入比值",
  9907. "type": "integer"
  9908. },
  9909. "invalue": {
  9910. "description": "目标值",
  9911. "type": "number"
  9912. },
  9913. "logid": {
  9914. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9915. "type": "integer"
  9916. },
  9917. "mobile": {
  9918. "description": "手机号码(加密存储)",
  9919. "type": "string"
  9920. },
  9921. "outergoodscode": {
  9922. "description": "外部商品代码[JD\\PD]",
  9923. "type": "string"
  9924. },
  9925. "outratio": {
  9926. "description": "配置转出比值",
  9927. "type": "integer"
  9928. },
  9929. "outvalue": {
  9930. "description": "源值",
  9931. "type": "number"
  9932. },
  9933. "pddecimalplace": {
  9934. "description": "PD小数位",
  9935. "type": "integer"
  9936. },
  9937. "qty": {
  9938. "description": "数量",
  9939. "type": "string"
  9940. },
  9941. "remark": {
  9942. "description": "备注",
  9943. "type": "string"
  9944. },
  9945. "sessionid": {
  9946. "description": "会话ID",
  9947. "type": "integer"
  9948. },
  9949. "timemaxvalue": {
  9950. "description": "配置单次最大转入限制",
  9951. "type": "number"
  9952. },
  9953. "timemaxvalue2": {
  9954. "description": "配置单次最大转入限制(转入)",
  9955. "type": "number"
  9956. },
  9957. "timeminvalue": {
  9958. "description": "配置单次最小数量限制",
  9959. "type": "number"
  9960. },
  9961. "timeminvalue2": {
  9962. "description": "配置单次最小数量限制(转入)",
  9963. "type": "number"
  9964. },
  9965. "tradedate": {
  9966. "description": "交易日(yyyyMMdd)",
  9967. "type": "string"
  9968. },
  9969. "userid": {
  9970. "description": "用户ID",
  9971. "type": "integer"
  9972. }
  9973. }
  9974. },
  9975. "szdz.QueryGoodsPickupRsp": {
  9976. "type": "object",
  9977. "required": [
  9978. "takeorderid"
  9979. ],
  9980. "properties": {
  9981. "accountid": {
  9982. "description": "账户ID",
  9983. "type": "integer"
  9984. },
  9985. "address": {
  9986. "description": "提货人详细地址",
  9987. "type": "string"
  9988. },
  9989. "auditer": {
  9990. "description": "审核人",
  9991. "type": "integer"
  9992. },
  9993. "audittime": {
  9994. "description": "审核时间",
  9995. "type": "string"
  9996. },
  9997. "cardnum": {
  9998. "description": "提货人证件号码",
  9999. "type": "string"
  10000. },
  10001. "cardtypeid": {
  10002. "description": "提货人证件类型",
  10003. "type": "integer"
  10004. },
  10005. "checkremark": {
  10006. "description": "审核备注",
  10007. "type": "string"
  10008. },
  10009. "goodscode": {
  10010. "description": "商品代码",
  10011. "type": "string"
  10012. },
  10013. "goodsid": {
  10014. "description": "商品ID",
  10015. "type": "integer"
  10016. },
  10017. "goodsname": {
  10018. "description": "商品名称",
  10019. "type": "string"
  10020. },
  10021. "handlestatus": {
  10022. "description": "处理状态",
  10023. "type": "integer"
  10024. },
  10025. "marketid": {
  10026. "description": "市场ID",
  10027. "type": "integer"
  10028. },
  10029. "phonenum": {
  10030. "description": "提货人联系方式",
  10031. "type": "string"
  10032. },
  10033. "qty": {
  10034. "description": "提货数量",
  10035. "type": "number"
  10036. },
  10037. "recivername": {
  10038. "description": "提货人姓名",
  10039. "type": "string"
  10040. },
  10041. "reqtime": {
  10042. "description": "更新时间",
  10043. "type": "string"
  10044. },
  10045. "takemode": {
  10046. "description": "提货方式 - 2:自提 3:配送",
  10047. "type": "integer"
  10048. },
  10049. "takeorderid": {
  10050. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10051. "type": "string"
  10052. },
  10053. "takeorderstatus": {
  10054. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10055. "type": "integer"
  10056. },
  10057. "takeremark": {
  10058. "description": "提货备注",
  10059. "type": "string"
  10060. },
  10061. "tradedate": {
  10062. "description": "交易日(yyyyMMdd)",
  10063. "type": "string"
  10064. },
  10065. "userid": {
  10066. "description": "用户ID",
  10067. "type": "integer"
  10068. }
  10069. }
  10070. },
  10071. "szdz.QueryRecieptOrderRsp": {
  10072. "type": "object",
  10073. "required": [
  10074. "ordertime"
  10075. ],
  10076. "properties": {
  10077. "accountName": {
  10078. "description": "所属账号名称(已脱敏)",
  10079. "type": "string"
  10080. },
  10081. "accountid": {
  10082. "description": "资金账号",
  10083. "type": "integer"
  10084. },
  10085. "buyorsell": {
  10086. "description": "方向 - 0:买 1:卖",
  10087. "type": "integer"
  10088. },
  10089. "enableqty": {
  10090. "description": "可摘数量",
  10091. "type": "integer"
  10092. },
  10093. "goodscode": {
  10094. "description": "商品代码",
  10095. "type": "string"
  10096. },
  10097. "goodsid": {
  10098. "description": "商品ID",
  10099. "type": "integer"
  10100. },
  10101. "goodsname": {
  10102. "description": "商品名称",
  10103. "type": "string"
  10104. },
  10105. "orderid": {
  10106. "description": "委托单号",
  10107. "type": "string"
  10108. },
  10109. "orderprice": {
  10110. "description": "委托价格",
  10111. "type": "number"
  10112. },
  10113. "ordertime": {
  10114. "description": "委托时间",
  10115. "type": "string"
  10116. },
  10117. "tradedate": {
  10118. "description": "交易日(yyyyMMdd)",
  10119. "type": "string"
  10120. }
  10121. }
  10122. },
  10123. "szdz.QuerySZDZTradePositionRsp": {
  10124. "type": "object",
  10125. "properties": {
  10126. "accountid": {
  10127. "description": "账号Id",
  10128. "type": "integer"
  10129. },
  10130. "agreeunit": {
  10131. "description": "合约单位",
  10132. "type": "number"
  10133. },
  10134. "averageprice": {
  10135. "description": "持仓均价",
  10136. "type": "number"
  10137. },
  10138. "buyorsell": {
  10139. "description": "方向 - 0:买 1:卖",
  10140. "type": "integer"
  10141. },
  10142. "closetotalqty": {
  10143. "description": "平仓总数量",
  10144. "type": "integer"
  10145. },
  10146. "curholderamount": {
  10147. "description": "当前持仓总金额",
  10148. "type": "number"
  10149. },
  10150. "curpositionqty": {
  10151. "description": "当前持仓总数量",
  10152. "type": "integer"
  10153. },
  10154. "currencyid": {
  10155. "description": "报价货币ID",
  10156. "type": "integer"
  10157. },
  10158. "curtdposition": {
  10159. "description": "期末今日头寸",
  10160. "type": "integer"
  10161. },
  10162. "decimalplace": {
  10163. "description": "报价小数位",
  10164. "type": "integer"
  10165. },
  10166. "enableqty": {
  10167. "description": "可用量",
  10168. "type": "integer"
  10169. },
  10170. "fretdposition": {
  10171. "description": "冻结今日头寸",
  10172. "type": "integer"
  10173. },
  10174. "frozenqty": {
  10175. "description": "持仓冻结数量",
  10176. "type": "integer"
  10177. },
  10178. "goodscode": {
  10179. "description": "商品代码(内部)",
  10180. "type": "string"
  10181. },
  10182. "goodsid": {
  10183. "description": "商品Id",
  10184. "type": "integer"
  10185. },
  10186. "goodsname": {
  10187. "description": "商品名称",
  10188. "type": "string"
  10189. },
  10190. "goodunit": {
  10191. "description": "报价单位",
  10192. "type": "string"
  10193. },
  10194. "goodunitid": {
  10195. "description": "报价单位ID",
  10196. "type": "integer"
  10197. },
  10198. "holderamount": {
  10199. "description": "期初持仓总金额",
  10200. "type": "number"
  10201. },
  10202. "marketid": {
  10203. "description": "市场ID",
  10204. "type": "integer"
  10205. },
  10206. "openreqqty": {
  10207. "description": "开仓申请数量",
  10208. "type": "integer"
  10209. },
  10210. "opentotalqty": {
  10211. "description": "开仓总数量",
  10212. "type": "integer"
  10213. },
  10214. "otherfrozenqty": {
  10215. "description": "持仓其他冻结数量(交割冻结)",
  10216. "type": "integer"
  10217. },
  10218. "positionqty": {
  10219. "description": "期初持仓数量",
  10220. "type": "integer"
  10221. },
  10222. "szdz3freezqty": {
  10223. "description": "尚志大宗转换冻结总数量",
  10224. "type": "integer"
  10225. },
  10226. "tnqty": {
  10227. "description": "T+N冻结总量",
  10228. "type": "integer"
  10229. },
  10230. "tnusedqty": {
  10231. "description": "T+N使用量",
  10232. "type": "integer"
  10233. },
  10234. "trademode": {
  10235. "description": "交易模式",
  10236. "type": "integer"
  10237. },
  10238. "usedmargin": {
  10239. "description": "占用保证金",
  10240. "type": "number"
  10241. }
  10242. }
  10243. },
  10244. "taaccount.QueryAmountLogRsp": {
  10245. "type": "object",
  10246. "required": [
  10247. "accountid",
  10248. "amount",
  10249. "amountadjusttype",
  10250. "autoid",
  10251. "balance",
  10252. "createtime",
  10253. "currentbalance",
  10254. "operatetype"
  10255. ],
  10256. "properties": {
  10257. "OPERATETYPENAME": {
  10258. "description": "资金操作类型名称",
  10259. "type": "string"
  10260. },
  10261. "accountid": {
  10262. "description": "资金账户ID",
  10263. "type": "integer"
  10264. },
  10265. "agoodscode": {
  10266. "description": "竞拍商品代码",
  10267. "type": "string"
  10268. },
  10269. "agoodsname": {
  10270. "description": "竞拍商品名称",
  10271. "type": "string"
  10272. },
  10273. "amount": {
  10274. "description": "资金金额",
  10275. "type": "number"
  10276. },
  10277. "amountadjusttype": {
  10278. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  10279. "type": "integer"
  10280. },
  10281. "autoid": {
  10282. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  10283. "type": "integer"
  10284. },
  10285. "balance": {
  10286. "description": "期初余额",
  10287. "type": "number"
  10288. },
  10289. "businesscode": {
  10290. "description": "业务编号",
  10291. "type": "integer"
  10292. },
  10293. "createtime": {
  10294. "description": "发生时间",
  10295. "type": "string"
  10296. },
  10297. "currencyid": {
  10298. "description": "币种ID",
  10299. "type": "integer"
  10300. },
  10301. "currentbalance": {
  10302. "description": "期末余额(变动后金额)",
  10303. "type": "number"
  10304. },
  10305. "dgoodscode": {
  10306. "description": "交割商品代码",
  10307. "type": "string"
  10308. },
  10309. "dgoodsname": {
  10310. "description": "交割商品名称",
  10311. "type": "string"
  10312. },
  10313. "goodscode": {
  10314. "description": "商品代码",
  10315. "type": "string"
  10316. },
  10317. "goodsid": {
  10318. "description": "商品ID",
  10319. "type": "integer"
  10320. },
  10321. "goodsname": {
  10322. "description": "商品名称",
  10323. "type": "string"
  10324. },
  10325. "marketid": {
  10326. "description": "市场ID",
  10327. "type": "integer"
  10328. },
  10329. "marketname": {
  10330. "description": "市场名称",
  10331. "type": "string"
  10332. },
  10333. "moneyticket": {
  10334. "description": "资金流水号:银行端流水号",
  10335. "type": "integer"
  10336. },
  10337. "operatetype": {
  10338. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  10339. "type": "integer"
  10340. },
  10341. "relationorderid": {
  10342. "description": "关联单号",
  10343. "type": "string"
  10344. },
  10345. "remark": {
  10346. "description": "备注",
  10347. "type": "string"
  10348. },
  10349. "trademode": {
  10350. "description": "交易模式",
  10351. "type": "integer"
  10352. }
  10353. }
  10354. },
  10355. "taaccount.QueryHisAmountLogRsp": {
  10356. "type": "object",
  10357. "required": [
  10358. "accountid",
  10359. "amount",
  10360. "amountadjusttype",
  10361. "autoid",
  10362. "balance",
  10363. "createtime",
  10364. "currentbalance",
  10365. "histradedate",
  10366. "operatetype"
  10367. ],
  10368. "properties": {
  10369. "OPERATETYPENAME": {
  10370. "description": "资金操作类型名称",
  10371. "type": "string"
  10372. },
  10373. "accountid": {
  10374. "description": "资金账户ID",
  10375. "type": "integer"
  10376. },
  10377. "agoodscode": {
  10378. "description": "竞拍商品代码",
  10379. "type": "string"
  10380. },
  10381. "agoodsname": {
  10382. "description": "竞拍商品名称",
  10383. "type": "string"
  10384. },
  10385. "amount": {
  10386. "description": "资金金额",
  10387. "type": "number"
  10388. },
  10389. "amountadjusttype": {
  10390. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  10391. "type": "integer"
  10392. },
  10393. "autoid": {
  10394. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  10395. "type": "integer"
  10396. },
  10397. "balance": {
  10398. "description": "期初余额",
  10399. "type": "number"
  10400. },
  10401. "businesscode": {
  10402. "description": "业务编号",
  10403. "type": "integer"
  10404. },
  10405. "createtime": {
  10406. "description": "发生时间",
  10407. "type": "string"
  10408. },
  10409. "currencyid": {
  10410. "description": "币种ID",
  10411. "type": "integer"
  10412. },
  10413. "currentbalance": {
  10414. "description": "期末余额(变动后金额)",
  10415. "type": "number"
  10416. },
  10417. "dgoodscode": {
  10418. "description": "交割商品代码",
  10419. "type": "string"
  10420. },
  10421. "dgoodsname": {
  10422. "description": "交割商品名称",
  10423. "type": "string"
  10424. },
  10425. "goodscode": {
  10426. "description": "商品代码",
  10427. "type": "string"
  10428. },
  10429. "goodsid": {
  10430. "description": "商品ID",
  10431. "type": "integer"
  10432. },
  10433. "goodsname": {
  10434. "description": "商品名称",
  10435. "type": "string"
  10436. },
  10437. "histradedate": {
  10438. "description": "历史交易日",
  10439. "type": "string"
  10440. },
  10441. "isvaliddata": {
  10442. "description": "是否有效 - 0:无效 1:有效",
  10443. "type": "integer"
  10444. },
  10445. "marketid": {
  10446. "description": "市场ID",
  10447. "type": "integer"
  10448. },
  10449. "marketname": {
  10450. "description": "市场名称",
  10451. "type": "string"
  10452. },
  10453. "moneyticket": {
  10454. "description": "资金流水号:银行端流水号",
  10455. "type": "integer"
  10456. },
  10457. "operatetype": {
  10458. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  10459. "type": "integer"
  10460. },
  10461. "relationorderid": {
  10462. "description": "关联单号",
  10463. "type": "string"
  10464. },
  10465. "remark": {
  10466. "description": "备注",
  10467. "type": "string"
  10468. },
  10469. "trademode": {
  10470. "description": "交易模式",
  10471. "type": "integer"
  10472. }
  10473. }
  10474. },
  10475. "trade.QueryRecieptOrderRsp": {
  10476. "type": "object",
  10477. "required": [
  10478. "ordertime"
  10479. ],
  10480. "properties": {
  10481. "accountName": {
  10482. "description": "所属账号名称(已脱敏)",
  10483. "type": "string"
  10484. },
  10485. "accountid": {
  10486. "description": "资金账号",
  10487. "type": "integer"
  10488. },
  10489. "buyorsell": {
  10490. "description": "方向 - 0:买 1:卖",
  10491. "type": "integer"
  10492. },
  10493. "enableqty": {
  10494. "description": "可摘数量",
  10495. "type": "integer"
  10496. },
  10497. "goodscode": {
  10498. "description": "商品代码",
  10499. "type": "string"
  10500. },
  10501. "goodsid": {
  10502. "description": "商品ID",
  10503. "type": "integer"
  10504. },
  10505. "goodsname": {
  10506. "description": "商品名称",
  10507. "type": "string"
  10508. },
  10509. "orderid": {
  10510. "description": "委托单号",
  10511. "type": "string"
  10512. },
  10513. "orderprice": {
  10514. "description": "委托价格",
  10515. "type": "number"
  10516. },
  10517. "ordertime": {
  10518. "description": "委托时间",
  10519. "type": "string"
  10520. },
  10521. "tradedate": {
  10522. "description": "交易日(yyyyMMdd)",
  10523. "type": "string"
  10524. }
  10525. }
  10526. }
  10527. },
  10528. "securityDefinitions": {
  10529. "ApiKeyAuth": {
  10530. "type": "apiKey",
  10531. "name": "Authorization",
  10532. "in": "header"
  10533. }
  10534. }
  10535. }